public static final class CreateGatewayRequest.Builder extends GeneratedMessageV3.Builder<CreateGatewayRequest.Builder> implements CreateGatewayRequestOrBuilder
Request message for ApiGatewayService.CreateGateway
Protobuf type google.cloud.apigateway.v1.CreateGatewayRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateGatewayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateGatewayRequest build()
Returns
buildPartial()
public CreateGatewayRequest buildPartial()
Returns
clear()
public CreateGatewayRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGatewayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGateway()
public CreateGatewayRequest.Builder clearGateway()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearGatewayId()
public CreateGatewayRequest.Builder clearGatewayId()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGatewayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateGatewayRequest.Builder clearParent()
Required. Parent resource of the Gateway, of the form:
projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateGatewayRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateGatewayRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGateway()
public Gateway getGateway()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getGatewayBuilder()
public Gateway.Builder getGatewayBuilder()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
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
getGatewayOrBuilder()
public GatewayOrBuilder getGatewayOrBuilder()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Type | Description |
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
hasGateway()
public boolean hasGateway()
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the gateway field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateGatewayRequest other)
public CreateGatewayRequest.Builder mergeFrom(CreateGatewayRequest other)
Parameter
Returns
public CreateGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateGatewayRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGateway(Gateway value)
public CreateGatewayRequest.Builder mergeGateway(Gateway value)
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGatewayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGatewayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGateway(Gateway value)
public CreateGatewayRequest.Builder setGateway(Gateway value)
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setGateway(Gateway.Builder builderForValue)
public CreateGatewayRequest.Builder setGateway(Gateway.Builder builderForValue)
Required. Gateway resource.
.google.cloud.apigateway.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setGatewayId(String value)
public CreateGatewayRequest.Builder setGatewayId(String value)
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];
Parameter
Name | Description |
value | String
The gatewayId to set.
|
Returns
setGatewayIdBytes(ByteString value)
public CreateGatewayRequest.Builder setGatewayIdBytes(ByteString value)
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];
Parameter
Name | Description |
value | ByteString
The bytes for gatewayId to set.
|
Returns
setParent(String value)
public CreateGatewayRequest.Builder setParent(String value)
Required. Parent resource of the Gateway, of the form:
projects/*/locations/*
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 CreateGatewayRequest.Builder setParentBytes(ByteString value)
Required. Parent resource of the Gateway, of the form:
projects/*/locations/*
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 CreateGatewayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGatewayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides