public static final class NetworkAttachmentConnectedEndpoint.Builder extends GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder> implements NetworkAttachmentConnectedEndpointOrBuilder[Output Only] A connection connected to this network attachment.
Protobuf type google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkAttachmentConnectedEndpoint.BuilderImplements
NetworkAttachmentConnectedEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addAllSecondaryIpCidrRanges(Iterable<String> values)
public NetworkAttachmentConnectedEndpoint.Builder addAllSecondaryIpCidrRanges(Iterable<String> values)Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Name | Description |
values |
Iterable<String>The secondaryIpCidrRanges to add. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentConnectedEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
addSecondaryIpCidrRanges(String value)
public NetworkAttachmentConnectedEndpoint.Builder addSecondaryIpCidrRanges(String value)Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Name | Description |
value |
StringThe secondaryIpCidrRanges to add. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
addSecondaryIpCidrRangesBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder addSecondaryIpCidrRangesBytes(ByteString value)Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Name | Description |
value |
ByteStringThe bytes of the secondaryIpCidrRanges to add. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
build()
public NetworkAttachmentConnectedEndpoint build()| Type | Description |
NetworkAttachmentConnectedEndpoint |
buildPartial()
public NetworkAttachmentConnectedEndpoint buildPartial()| Type | Description |
NetworkAttachmentConnectedEndpoint |
clear()
public NetworkAttachmentConnectedEndpoint.Builder clear()| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
clearField(Descriptors.FieldDescriptor field)
public NetworkAttachmentConnectedEndpoint.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
clearIpAddress()
public NetworkAttachmentConnectedEndpoint.Builder clearIpAddress()The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAttachmentConnectedEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
clearProjectIdOrNum()
public NetworkAttachmentConnectedEndpoint.Builder clearProjectIdOrNum()The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearSecondaryIpCidrRanges()
public NetworkAttachmentConnectedEndpoint.Builder clearSecondaryIpCidrRanges()Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearStatus()
public NetworkAttachmentConnectedEndpoint.Builder clearStatus()The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearSubnetwork()
public NetworkAttachmentConnectedEndpoint.Builder clearSubnetwork()The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clone()
public NetworkAttachmentConnectedEndpoint.Builder clone()| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
getDefaultInstanceForType()
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()| Type | Description |
NetworkAttachmentConnectedEndpoint |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getIpAddress()
public String getIpAddress()The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
| Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
| Type | Description |
ByteString |
The bytes for ipAddress. |
getProjectIdOrNum()
public String getProjectIdOrNum()The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
| Type | Description |
String |
The projectIdOrNum. |
getProjectIdOrNumBytes()
public ByteString getProjectIdOrNumBytes()The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
| Type | Description |
ByteString |
The bytes for projectIdOrNum. |
getSecondaryIpCidrRanges(int index)
public String getSecondaryIpCidrRanges(int index)Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Name | Description |
index |
intThe index of the element to return. |
| Type | Description |
String |
The secondaryIpCidrRanges at the given index. |
getSecondaryIpCidrRangesBytes(int index)
public ByteString getSecondaryIpCidrRangesBytes(int index)Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Name | Description |
index |
intThe index of the value to return. |
| Type | Description |
ByteString |
The bytes of the secondaryIpCidrRanges at the given index. |
getSecondaryIpCidrRangesCount()
public int getSecondaryIpCidrRangesCount()Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Type | Description |
int |
The count of secondaryIpCidrRanges. |
getSecondaryIpCidrRangesList()
public ProtocolStringList getSecondaryIpCidrRangesList()Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Type | Description |
ProtocolStringList |
A list containing the secondaryIpCidrRanges. |
getStatus()
public String getStatus()The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Type | Description |
String |
The status. |
getStatusBytes()
public ByteString getStatusBytes()The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Type | Description |
ByteString |
The bytes for status. |
getSubnetwork()
public String getSubnetwork()The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
| Type | Description |
String |
The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
| Type | Description |
ByteString |
The bytes for subnetwork. |
hasIpAddress()
public boolean hasIpAddress()The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
| Type | Description |
boolean |
Whether the ipAddress field is set. |
hasProjectIdOrNum()
public boolean hasProjectIdOrNum()The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
| Type | Description |
boolean |
Whether the projectIdOrNum field is set. |
hasStatus()
public boolean hasStatus()The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Type | Description |
boolean |
Whether the status field is set. |
hasSubnetwork()
public boolean hasSubnetwork()The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
| Type | Description |
boolean |
Whether the subnetwork field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(NetworkAttachmentConnectedEndpoint other)
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(NetworkAttachmentConnectedEndpoint other)| Name | Description |
other |
NetworkAttachmentConnectedEndpoint |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentConnectedEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentConnectedEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
setIpAddress(String value)
public NetworkAttachmentConnectedEndpoint.Builder setIpAddress(String value)The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
| Name | Description |
value |
StringThe ipAddress to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setIpAddressBytes(ByteString value)The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
| Name | Description |
value |
ByteStringThe bytes for ipAddress to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setProjectIdOrNum(String value)
public NetworkAttachmentConnectedEndpoint.Builder setProjectIdOrNum(String value)The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
| Name | Description |
value |
StringThe projectIdOrNum to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setProjectIdOrNumBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setProjectIdOrNumBytes(ByteString value)The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
| Name | Description |
value |
ByteStringThe bytes for projectIdOrNum to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkAttachmentConnectedEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
setSecondaryIpCidrRanges(int index, String value)
public NetworkAttachmentConnectedEndpoint.Builder setSecondaryIpCidrRanges(int index, String value)Alias IP ranges from the same subnetwork
repeated string secondary_ip_cidr_ranges = 117184788;
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe secondaryIpCidrRanges to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setStatus(String value)
public NetworkAttachmentConnectedEndpoint.Builder setStatus(String value)The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Name | Description |
value |
StringThe status to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setStatusBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setStatusBytes(ByteString value)The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
optional string status = 181260274;
| Name | Description |
value |
ByteStringThe bytes for status to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setSubnetwork(String value)
public NetworkAttachmentConnectedEndpoint.Builder setSubnetwork(String value)The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
| Name | Description |
value |
StringThe subnetwork to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setSubnetworkBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setSubnetworkBytes(ByteString value)The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
| Name | Description |
value |
ByteStringThe bytes for subnetwork to set. |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentConnectedEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |