Class CreateGatewayRequest (2.10.0)

public final class CreateGatewayRequest extends GeneratedMessageV3 implements CreateGatewayRequestOrBuilder

Request message for ApiGatewayService.CreateGateway

Protobuf type google.cloud.apigateway.v1.CreateGatewayRequest

Static Fields

GATEWAY_FIELD_NUMBER

public static final int GATEWAY_FIELD_NUMBER
Field Value
TypeDescription
int

GATEWAY_ID_FIELD_NUMBER

public static final int GATEWAY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateGatewayRequest getDefaultInstance()
Returns
TypeDescription
CreateGatewayRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateGatewayRequest.Builder newBuilder()
Returns
TypeDescription
CreateGatewayRequest.Builder

newBuilder(CreateGatewayRequest prototype)

public static CreateGatewayRequest.Builder newBuilder(CreateGatewayRequest prototype)
Parameter
NameDescription
prototypeCreateGatewayRequest
Returns
TypeDescription
CreateGatewayRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateGatewayRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateGatewayRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateGatewayRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateGatewayRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateGatewayRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateGatewayRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateGatewayRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateGatewayRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateGatewayRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateGatewayRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateGatewayRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateGatewayRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateGatewayRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateGatewayRequest> parser()
Returns
TypeDescription
Parser<CreateGatewayRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateGatewayRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateGatewayRequest

getGateway()

public Gateway getGateway()

Required. Gateway resource.

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

Returns
TypeDescription
Gateway

The gateway.

getGatewayId()

public String getGatewayId()

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
TypeDescription
String

The gatewayId.

getGatewayIdBytes()

public ByteString getGatewayIdBytes()

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
TypeDescription
ByteString

The bytes for gatewayId.

getGatewayOrBuilder()

public GatewayOrBuilder getGatewayOrBuilder()

Required. Gateway resource.

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

Returns
TypeDescription
GatewayOrBuilder

getParent()

public String getParent()

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

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateGatewayRequest> getParserForType()
Returns
TypeDescription
Parser<CreateGatewayRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasGateway()

public boolean hasGateway()

Required. Gateway resource.

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

Returns
TypeDescription
boolean

Whether the gateway field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateGatewayRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateGatewayRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateGatewayRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateGatewayRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateGatewayRequest.Builder toBuilder()
Returns
TypeDescription
CreateGatewayRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException