public static final class CreateConnectorRequest.Builder extends GeneratedMessageV3.Builder<CreateConnectorRequest.Builder> implements CreateConnectorRequestOrBuilder
Request for creating a Serverless VPC Access connector.
Protobuf type google.cloud.vpcaccess.v1.CreateConnectorRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateConnectorRequest build()
Returns
buildPartial()
public CreateConnectorRequest buildPartial()
Returns
clear()
public CreateConnectorRequest.Builder clear()
Returns
Overrides
clearConnector()
public CreateConnectorRequest.Builder clearConnector()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearConnectorId()
public CreateConnectorRequest.Builder clearConnectorId()
Required. The ID to use for this connector.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConnectorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConnectorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateConnectorRequest.Builder clearParent()
Required. The project and location in which the configuration should be created,
specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateConnectorRequest.Builder clone()
Returns
Overrides
getConnector()
public Connector getConnector()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getConnectorBuilder()
public Connector.Builder getConnectorBuilder()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getConnectorId()
public String getConnectorId()
Required. The ID to use for this connector.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The connectorId.
|
getConnectorIdBytes()
public ByteString getConnectorIdBytes()
Required. The ID to use for this connector.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for connectorId.
|
getConnectorOrBuilder()
public ConnectorOrBuilder getConnectorOrBuilder()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConnectorRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The project and location in which the configuration should be created,
specified 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 project and location in which the configuration should be created,
specified in the format projects/*/locations/*
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasConnector()
public boolean hasConnector()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the connector field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConnector(Connector value)
public CreateConnectorRequest.Builder mergeConnector(Connector value)
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateConnectorRequest other)
public CreateConnectorRequest.Builder mergeFrom(CreateConnectorRequest other)
Parameter
Returns
public CreateConnectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConnectorRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConnector(Connector value)
public CreateConnectorRequest.Builder setConnector(Connector value)
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConnector(Connector.Builder builderForValue)
public CreateConnectorRequest.Builder setConnector(Connector.Builder builderForValue)
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConnectorId(String value)
public CreateConnectorRequest.Builder setConnectorId(String value)
Required. The ID to use for this connector.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The connectorId to set.
|
Returns
setConnectorIdBytes(ByteString value)
public CreateConnectorRequest.Builder setConnectorIdBytes(ByteString value)
Required. The ID to use for this connector.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for connectorId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateConnectorRequest.Builder setParent(String value)
Required. The project and location in which the configuration should be created,
specified 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.
|
Returns
setParentBytes(ByteString value)
public CreateConnectorRequest.Builder setParentBytes(ByteString value)
Required. The project and location in which the configuration should be created,
specified 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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConnectorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides