public static final class CreateApiConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateApiConfigRequest.Builder> implements CreateApiConfigRequestOrBuilder
Request message for ApiGatewayService.CreateApiConfig
Protobuf type google.cloud.apigateway.v1.CreateApiConfigRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateApiConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateApiConfigRequest build()
Returns
buildPartial()
public CreateApiConfigRequest buildPartial()
Returns
clear()
public CreateApiConfigRequest.Builder clear()
Returns
Overrides
clearApiConfig()
public CreateApiConfigRequest.Builder clearApiConfig()
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearApiConfigId()
public CreateApiConfigRequest.Builder clearApiConfigId()
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
clearField(Descriptors.FieldDescriptor field)
public CreateApiConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateApiConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateApiConfigRequest.Builder clearParent()
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
clone()
public CreateApiConfigRequest.Builder clone()
Returns
Overrides
getApiConfig()
public ApiConfig getApiConfig()
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getApiConfigBuilder()
public ApiConfig.Builder getApiConfigBuilder()
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
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
Type | Description |
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
getDefaultInstanceForType()
public CreateApiConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
hasApiConfig()
public boolean hasApiConfig()
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the apiConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeApiConfig(ApiConfig value)
public CreateApiConfigRequest.Builder mergeApiConfig(ApiConfig value)
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateApiConfigRequest other)
public CreateApiConfigRequest.Builder mergeFrom(CreateApiConfigRequest other)
Parameter
Returns
public CreateApiConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateApiConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setApiConfig(ApiConfig value)
public CreateApiConfigRequest.Builder setApiConfig(ApiConfig value)
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setApiConfig(ApiConfig.Builder builderForValue)
public CreateApiConfigRequest.Builder setApiConfig(ApiConfig.Builder builderForValue)
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setApiConfigId(String value)
public CreateApiConfigRequest.Builder setApiConfigId(String value)
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];
Parameter
Name | Description |
value | String
The apiConfigId to set.
|
Returns
setApiConfigIdBytes(ByteString value)
public CreateApiConfigRequest.Builder setApiConfigIdBytes(ByteString value)
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];
Parameter
Name | Description |
value | ByteString
The bytes for apiConfigId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateApiConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateApiConfigRequest.Builder setParent(String value)
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) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateApiConfigRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateApiConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides