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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateApiConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateApiConfigRequest build()
buildPartial()
public CreateApiConfigRequest buildPartial()
clear()
public CreateApiConfigRequest.Builder clear()
Overrides
clearApiConfig()
public CreateApiConfigRequest.Builder clearApiConfig()
Required. API resource.
.google.cloud.apigateway.v1.ApiConfig api_config = 3 [(.google.api.field_behavior) = REQUIRED];
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];
clearField(Descriptors.FieldDescriptor field)
public CreateApiConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateApiConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateApiConfigRequest.Builder clone()
Overrides
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];
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];
getDefaultInstanceForType()
public CreateApiConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateApiConfigRequest other)
public CreateApiConfigRequest.Builder mergeFrom(CreateApiConfigRequest other)
public CreateApiConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateApiConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateApiConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateApiConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides