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
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 Connector.Subnet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Connector.Subnet build()
buildPartial()
public Connector.Subnet buildPartial()
clear()
public Connector.Subnet.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Connector.Subnet.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Connector.Subnet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public Connector.Subnet.Builder clone()
Overrides
getDefaultInstanceForType()
public Connector.Subnet getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
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;
Returns |
---|
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
ByteString | The bytes for projectId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Connector.Subnet other)
public Connector.Subnet.Builder mergeFrom(Connector.Subnet other)
public Connector.Subnet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Connector.Subnet.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Connector.Subnet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Connector.Subnet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | String
The name to set.
|
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
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;
Parameter |
---|
Name | Description |
value | String
The projectId to set.
|
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for projectId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Connector.Subnet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Connector.Subnet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides