public static final class CreateApiConfigRequest.Builder extends GeneratedMessage.Builder<CreateApiConfigRequest.Builder> implements CreateApiConfigRequestOrBuilderRequest message for ApiGatewayService.CreateApiConfig
Protobuf type google.cloud.apigateway.v1.CreateApiConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateApiConfigRequest.BuilderImplements
CreateApiConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateApiConfigRequest build()| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest |
|
buildPartial()
public CreateApiConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest |
|
clear()
public CreateApiConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
clearApiConfig()
public CreateApiConfigRequest.Builder clearApiConfig()Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
This builder for chaining. |
getApiConfig()
public ApiConfig getApiConfig()Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ApiConfig |
The apiConfig. |
getApiConfigBuilder()
public ApiConfig.Builder getApiConfigBuilder()Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ApiConfig.Builder |
|
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 | |
|---|---|
| Type | Description |
ApiConfigOrBuilder |
|
getDefaultInstanceForType()
public CreateApiConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
ApiConfig |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
mergeFrom(CreateApiConfigRequest other)
public CreateApiConfigRequest.Builder mergeFrom(CreateApiConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateApiConfigRequest |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateApiConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateApiConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
ApiConfig |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
ApiConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
|
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 |
StringThe apiConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for apiConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
This builder for chaining. |
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 |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateApiConfigRequest.Builder |
This builder for chaining. |