public static final class CreateGatewayRequest.Builder extends GeneratedMessageV3.Builder<CreateGatewayRequest.Builder> implements CreateGatewayRequestOrBuilder
Request used by the CreateGateway method.
Protobuf type google.cloud.networkservices.v1.CreateGatewayRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateGatewayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateGatewayRequest build()
buildPartial()
public CreateGatewayRequest buildPartial()
clear()
public CreateGatewayRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateGatewayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGateway()
public CreateGatewayRequest.Builder clearGateway()
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
clearGatewayId()
public CreateGatewayRequest.Builder clearGatewayId()
Required. Short name of the Gateway resource to be created.
string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateGatewayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateGatewayRequest.Builder clearParent()
Required. The parent resource of the Gateway. Must be in the
format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateGatewayRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateGatewayRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGateway()
public Gateway getGateway()
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Gateway |
The gateway.
|
getGatewayBuilder()
public Gateway.Builder getGatewayBuilder()
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
getGatewayId()
public String getGatewayId()
Required. Short name of the Gateway resource to be created.
string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The gatewayId.
|
getGatewayIdBytes()
public ByteString getGatewayIdBytes()
Required. Short name of the Gateway resource to be created.
string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for gatewayId.
|
getGatewayOrBuilder()
public GatewayOrBuilder getGatewayOrBuilder()
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The parent resource of the Gateway. Must be in the
format 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. The parent resource of the Gateway. Must be in the
format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasGateway()
public boolean hasGateway()
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the gateway field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateGatewayRequest other)
public CreateGatewayRequest.Builder mergeFrom(CreateGatewayRequest other)
public CreateGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateGatewayRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGateway(Gateway value)
public CreateGatewayRequest.Builder mergeGateway(Gateway value)
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Gateway
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateGatewayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateGatewayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGateway(Gateway value)
public CreateGatewayRequest.Builder setGateway(Gateway value)
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Gateway
|
setGateway(Gateway.Builder builderForValue)
public CreateGatewayRequest.Builder setGateway(Gateway.Builder builderForValue)
Required. Gateway resource to be created.
.google.cloud.networkservices.v1.Gateway gateway = 3 [(.google.api.field_behavior) = REQUIRED];
setGatewayId(String value)
public CreateGatewayRequest.Builder setGatewayId(String value)
Required. Short name of the Gateway resource to be created.
string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The gatewayId to set.
|
setGatewayIdBytes(ByteString value)
public CreateGatewayRequest.Builder setGatewayIdBytes(ByteString value)
Required. Short name of the Gateway resource to be created.
string gateway_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for gatewayId to set.
|
setParent(String value)
public CreateGatewayRequest.Builder setParent(String value)
Required. The parent resource of the Gateway. Must be in the
format projects/*/locations/*
.
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 CreateGatewayRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the Gateway. Must be in the
format 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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateGatewayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateGatewayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides