- 1.86.0 (latest)
 - 1.85.0
 - 1.84.0
 - 1.83.0
 - 1.82.0
 - 1.80.0
 - 1.78.0
 - 1.77.0
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.70.0
 - 1.69.0
 - 1.68.0
 - 1.67.0
 - 1.66.0
 - 1.65.0
 - 1.64.0
 - 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()| 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 |