- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The secondaryIpCidrRanges to add. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentConnectedEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The secondaryIpCidrRanges to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the secondaryIpCidrRanges to add. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
build()
public NetworkAttachmentConnectedEndpoint build()
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint |
buildPartial()
public NetworkAttachmentConnectedEndpoint buildPartial()
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint |
clear()
public NetworkAttachmentConnectedEndpoint.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
clearField(Descriptors.FieldDescriptor field)
public NetworkAttachmentConnectedEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
clearIpAddress()
public NetworkAttachmentConnectedEndpoint.Builder clearIpAddress()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearIpv6Address()
public NetworkAttachmentConnectedEndpoint.Builder clearIpv6Address()
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAttachmentConnectedEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clearSubnetworkCidrRange()
public NetworkAttachmentConnectedEndpoint.Builder clearSubnetworkCidrRange()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
clone()
public NetworkAttachmentConnectedEndpoint.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
getDefaultInstanceForType()
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIpAddress()
public String getIpAddress()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipAddress. |
getIpv6Address()
public String getIpv6Address()
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
String |
The ipv6Address. |
getIpv6AddressBytes()
public ByteString getIpv6AddressBytes()
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipv6Address. |
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subnetwork. |
getSubnetworkCidrRange()
public String getSubnetworkCidrRange()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns | |
---|---|
Type | Description |
String |
The subnetworkCidrRange. |
getSubnetworkCidrRangeBytes()
public ByteString getSubnetworkCidrRangeBytes()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subnetworkCidrRange. |
hasIpAddress()
public boolean hasIpAddress()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ipAddress field is set. |
hasIpv6Address()
public boolean hasIpv6Address()
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ipv6Address 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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the subnetwork field is set. |
hasSubnetworkCidrRange()
public boolean hasSubnetworkCidrRange()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns | |
---|---|
Type | Description |
boolean |
Whether the subnetworkCidrRange field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworkAttachmentConnectedEndpoint other)
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(NetworkAttachmentConnectedEndpoint other)
Parameter | |
---|---|
Name | Description |
other |
NetworkAttachmentConnectedEndpoint |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentConnectedEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAttachmentConnectedEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
setIpAddress(String value)
public NetworkAttachmentConnectedEndpoint.Builder setIpAddress(String value)
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
Parameter | |
---|---|
Name | Description |
value |
String The ipAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setIpAddressBytes(ByteString value)
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setIpv6Address(String value)
public NetworkAttachmentConnectedEndpoint.Builder setIpv6Address(String value)
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;
Parameter | |
---|---|
Name | Description |
value |
String The ipv6Address to set. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setIpv6AddressBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setIpv6AddressBytes(ByteString value)
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipv6Address to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The projectIdOrNum to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for projectIdOrNum to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The secondaryIpCidrRanges to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The status to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for status to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The subnetwork to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for subnetwork to set. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setSubnetworkCidrRange(String value)
public NetworkAttachmentConnectedEndpoint.Builder setSubnetworkCidrRange(String value)
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Parameter | |
---|---|
Name | Description |
value |
String The subnetworkCidrRange to set. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setSubnetworkCidrRangeBytes(ByteString value)
public NetworkAttachmentConnectedEndpoint.Builder setSubnetworkCidrRangeBytes(ByteString value)
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for subnetworkCidrRange to set. |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAttachmentConnectedEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAttachmentConnectedEndpoint.Builder |