Class CreateApiConfigRequest (2.16.0)

public final class CreateApiConfigRequest extends GeneratedMessageV3 implements CreateApiConfigRequestOrBuilder

Request message for ApiGatewayService.CreateApiConfig

Protobuf type google.cloud.apigateway.v1.CreateApiConfigRequest

Static Fields

API_CONFIG_FIELD_NUMBER

public static final int API_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

API_CONFIG_ID_FIELD_NUMBER

public static final int API_CONFIG_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 CreateApiConfigRequest getDefaultInstance()
Returns
TypeDescription
CreateApiConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateApiConfigRequest prototype)

public static CreateApiConfigRequest.Builder newBuilder(CreateApiConfigRequest prototype)
Parameter
NameDescription
prototypeCreateApiConfigRequest
Returns
TypeDescription
CreateApiConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApiConfig()

public ApiConfig getApiConfig()

Required. API resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ApiConfig

The apiConfig.

getApiConfigId()

public String getApiConfigId()

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

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

Returns
TypeDescription
String

The apiConfigId.

getApiConfigIdBytes()

public ByteString getApiConfigIdBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for apiConfigId.

getApiConfigOrBuilder()

public ApiConfigOrBuilder getApiConfigOrBuilder()

Required. API resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ApiConfigOrBuilder

getDefaultInstanceForType()

public CreateApiConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateApiConfigRequest

getParent()

public String getParent()

Required. Parent resource of the API Config, of the form: projects/*/locations/global/apis/*

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 API Config, of the form: projects/*/locations/global/apis/*

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

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasApiConfig()

public boolean hasApiConfig()

Required. API resource.

.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the apiConfig 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 CreateApiConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateApiConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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