Class CreateGatewayRequest (2.14.0)

publicfinalclass CreateGatewayRequestextendsGeneratedMessageV3implementsCreateGatewayRequestOrBuilder

Request message for ApiGatewayService.CreateGateway

Protobuf type google.cloud.apigateway.v1.CreateGatewayRequest

Inherited Members

Static Fields

GATEWAY_FIELD_NUMBER

publicstaticfinalintGATEWAY_FIELD_NUMBER
Field Value
Type Description
int

GATEWAY_ID_FIELD_NUMBER

publicstaticfinalintGATEWAY_ID_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

publicstaticfinalintPARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticCreateGatewayRequestgetDefaultInstance()
Returns
Type Description
CreateGatewayRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCreateGatewayRequest.BuildernewBuilder()
Returns
Type Description
CreateGatewayRequest.Builder

newBuilder(CreateGatewayRequest prototype)

publicstaticCreateGatewayRequest.BuildernewBuilder(CreateGatewayRequestprototype)
Parameter
Name Description
prototype CreateGatewayRequest
Returns
Type Description
CreateGatewayRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticCreateGatewayRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGatewayRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticCreateGatewayRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGatewayRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCreateGatewayRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGatewayRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCreateGatewayRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGatewayRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticCreateGatewayRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGatewayRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticCreateGatewayRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCreateGatewayRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateGatewayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<CreateGatewayRequest>parser()
Returns
Type Description
Parser<CreateGatewayRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicCreateGatewayRequestgetDefaultInstanceForType()
Returns
Type Description
CreateGatewayRequest

getGateway()

publicGatewaygetGateway()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Gateway

The gateway.

getGatewayId()

publicStringgetGatewayId()

Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.

string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The gatewayId.

getGatewayIdBytes()

publicByteStringgetGatewayIdBytes()

Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.

string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for gatewayId.

getGatewayOrBuilder()

publicGatewayOrBuildergetGatewayOrBuilder()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GatewayOrBuilder

getParent()

publicStringgetParent()

Required. Parent resource of the Gateway, of the form: projects/*/locations/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. Parent resource of the Gateway, of the form: projects/*/locations/*

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

publicParser<CreateGatewayRequest>getParserForType()
Returns
Type Description
Parser<CreateGatewayRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasGateway()

publicbooleanhasGateway()

Required. Gateway resource.

.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the gateway field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCreateGatewayRequest.BuildernewBuilderForType()
Returns
Type Description
CreateGatewayRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCreateGatewayRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateGatewayRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCreateGatewayRequest.BuildertoBuilder()
Returns
Type Description
CreateGatewayRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.