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
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 CreateConnectorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateConnectorRequest build()
buildPartial()
public CreateConnectorRequest buildPartial()
clear()
public CreateConnectorRequest.Builder clear()
Overrides
clearConnector()
public CreateConnectorRequest.Builder clearConnector()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
clearConnectorId()
public CreateConnectorRequest.Builder clearConnectorId()
Required. The ID to use for this connector.
string connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateConnectorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConnectorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateConnectorRequest.Builder clone()
Overrides
getConnector()
public Connector getConnector()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Connector | The connector.
|
getConnectorBuilder()
public Connector.Builder getConnectorBuilder()
Required. Resource to create.
.google.cloud.vpcaccess.v1.Connector connector = 3 [(.google.api.field_behavior) = REQUIRED];
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];
getDefaultInstanceForType()
public CreateConnectorRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateConnectorRequest other)
public CreateConnectorRequest.Builder mergeFrom(CreateConnectorRequest other)
public CreateConnectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateConnectorRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConnectorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides