- 2.52.0 (latest)
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.1.10
public static final class Connector.Subnet.Builder extends GeneratedMessageV3.Builder<Connector.Subnet.Builder> implements Connector.SubnetOrBuilder
The subnet in which to house the connector
Protobuf type google.cloud.vpcaccess.v1.Connector.Subnet
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Connector.Subnet.BuilderImplements
Connector.SubnetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Connector.Subnet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Connector.Subnet.Builder |
build()
public Connector.Subnet build()
Type | Description |
Connector.Subnet |
buildPartial()
public Connector.Subnet buildPartial()
Type | Description |
Connector.Subnet |
clear()
public Connector.Subnet.Builder clear()
Type | Description |
Connector.Subnet.Builder |
clearField(Descriptors.FieldDescriptor field)
public Connector.Subnet.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Connector.Subnet.Builder |
clearName()
public Connector.Subnet.Builder clearName()
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
string name = 1;
Type | Description |
Connector.Subnet.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Connector.Subnet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Connector.Subnet.Builder |
clearProjectId()
public Connector.Subnet.Builder clearProjectId()
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;
Type | Description |
Connector.Subnet.Builder | This builder for chaining. |
clone()
public Connector.Subnet.Builder clone()
Type | Description |
Connector.Subnet.Builder |
getDefaultInstanceForType()
public Connector.Subnet getDefaultInstanceForType()
Type | Description |
Connector.Subnet |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getProjectId()
public String getProjectId()
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;
Type | Description |
ByteString | The bytes for projectId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Connector.Subnet other)
public Connector.Subnet.Builder mergeFrom(Connector.Subnet other)
Name | Description |
other | Connector.Subnet |
Type | Description |
Connector.Subnet.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Connector.Subnet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Connector.Subnet.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Connector.Subnet.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Connector.Subnet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Connector.Subnet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Connector.Subnet.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Connector.Subnet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Connector.Subnet.Builder |
setName(String value)
public Connector.Subnet.Builder setName(String value)
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Connector.Subnet.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Connector.Subnet.Builder setNameBytes(ByteString value)
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Connector.Subnet.Builder | This builder for chaining. |
setProjectId(String value)
public Connector.Subnet.Builder setProjectId(String value)
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;
Name | Description |
value | String The projectId to set. |
Type | Description |
Connector.Subnet.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public Connector.Subnet.Builder setProjectIdBytes(ByteString value)
Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
string project_id = 2;
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
Connector.Subnet.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Connector.Subnet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Connector.Subnet.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Connector.Subnet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Connector.Subnet.Builder |