Package com.google.cloud.compute.v1
Class NetworkAttachmentConnectedEndpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
- com.google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint.Builder
-
- All Implemented Interfaces:
NetworkAttachmentConnectedEndpointOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NetworkAttachmentConnectedEndpoint
public static final class NetworkAttachmentConnectedEndpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder> implements NetworkAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this network attachment.
Protobuf typegoogle.cloud.compute.v1.NetworkAttachmentConnectedEndpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkAttachmentConnectedEndpoint.Builder
addAllSecondaryIpCidrRanges(Iterable<String> values)
Alias IP ranges from the same subnetwork.NetworkAttachmentConnectedEndpoint.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkAttachmentConnectedEndpoint.Builder
addSecondaryIpCidrRanges(String value)
Alias IP ranges from the same subnetwork.NetworkAttachmentConnectedEndpoint.Builder
addSecondaryIpCidrRangesBytes(com.google.protobuf.ByteString value)
Alias IP ranges from the same subnetwork.NetworkAttachmentConnectedEndpoint
build()
NetworkAttachmentConnectedEndpoint
buildPartial()
NetworkAttachmentConnectedEndpoint.Builder
clear()
NetworkAttachmentConnectedEndpoint.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NetworkAttachmentConnectedEndpoint.Builder
clearIpAddress()
The IPv4 address assigned to the producer instance network interface.NetworkAttachmentConnectedEndpoint.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NetworkAttachmentConnectedEndpoint.Builder
clearProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.NetworkAttachmentConnectedEndpoint.Builder
clearSecondaryIpCidrRanges()
Alias IP ranges from the same subnetwork.NetworkAttachmentConnectedEndpoint.Builder
clearStatus()
The status of a connected endpoint to this network attachment.NetworkAttachmentConnectedEndpoint.Builder
clearSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.NetworkAttachmentConnectedEndpoint.Builder
clone()
NetworkAttachmentConnectedEndpoint
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getIpAddress()
The IPv4 address assigned to the producer instance network interface.com.google.protobuf.ByteString
getIpAddressBytes()
The IPv4 address assigned to the producer instance network interface.String
getProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.com.google.protobuf.ByteString
getProjectIdOrNumBytes()
The project id or number of the interface to which the IP was assigned.String
getSecondaryIpCidrRanges(int index)
Alias IP ranges from the same subnetwork.com.google.protobuf.ByteString
getSecondaryIpCidrRangesBytes(int index)
Alias IP ranges from the same subnetwork.int
getSecondaryIpCidrRangesCount()
Alias IP ranges from the same subnetwork.com.google.protobuf.ProtocolStringList
getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.String
getStatus()
The status of a connected endpoint to this network attachment.com.google.protobuf.ByteString
getStatusBytes()
The status of a connected endpoint to this network attachment.String
getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.com.google.protobuf.ByteString
getSubnetworkBytes()
The subnetwork used to assign the IP to the producer instance network interface.boolean
hasIpAddress()
The IPv4 address assigned to the producer instance network interface.boolean
hasProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.boolean
hasStatus()
The status of a connected endpoint to this network attachment.boolean
hasSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NetworkAttachmentConnectedEndpoint.Builder
mergeFrom(NetworkAttachmentConnectedEndpoint other)
NetworkAttachmentConnectedEndpoint.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NetworkAttachmentConnectedEndpoint.Builder
mergeFrom(com.google.protobuf.Message other)
NetworkAttachmentConnectedEndpoint.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NetworkAttachmentConnectedEndpoint.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkAttachmentConnectedEndpoint.Builder
setIpAddress(String value)
The IPv4 address assigned to the producer instance network interface.NetworkAttachmentConnectedEndpoint.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
The IPv4 address assigned to the producer instance network interface.NetworkAttachmentConnectedEndpoint.Builder
setProjectIdOrNum(String value)
The project id or number of the interface to which the IP was assigned.NetworkAttachmentConnectedEndpoint.Builder
setProjectIdOrNumBytes(com.google.protobuf.ByteString value)
The project id or number of the interface to which the IP was assigned.NetworkAttachmentConnectedEndpoint.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NetworkAttachmentConnectedEndpoint.Builder
setSecondaryIpCidrRanges(int index, String value)
Alias IP ranges from the same subnetwork.NetworkAttachmentConnectedEndpoint.Builder
setStatus(String value)
The status of a connected endpoint to this network attachment.NetworkAttachmentConnectedEndpoint.Builder
setStatusBytes(com.google.protobuf.ByteString value)
The status of a connected endpoint to this network attachment.NetworkAttachmentConnectedEndpoint.Builder
setSubnetwork(String value)
The subnetwork used to assign the IP to the producer instance network interface.NetworkAttachmentConnectedEndpoint.Builder
setSubnetworkBytes(com.google.protobuf.ByteString value)
The subnetwork used to assign the IP to the producer instance network interface.NetworkAttachmentConnectedEndpoint.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
clear
public NetworkAttachmentConnectedEndpoint.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
getDefaultInstanceForType
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkAttachmentConnectedEndpoint build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkAttachmentConnectedEndpoint buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkAttachmentConnectedEndpoint.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
setField
public NetworkAttachmentConnectedEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
clearField
public NetworkAttachmentConnectedEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
clearOneof
public NetworkAttachmentConnectedEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
setRepeatedField
public NetworkAttachmentConnectedEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
addRepeatedField
public NetworkAttachmentConnectedEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(NetworkAttachmentConnectedEndpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
mergeFrom
public NetworkAttachmentConnectedEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkAttachmentConnectedEndpoint.Builder>
- Throws:
IOException
-
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;
- Specified by:
hasIpAddress
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the ipAddress field is set.
-
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;
- Specified by:
getIpAddress
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.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;
- Specified by:
getIpAddressBytes
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for ipAddress.
-
setIpAddress
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;
- Parameters:
value
- The ipAddress to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIpAddressBytes
public NetworkAttachmentConnectedEndpoint.Builder setIpAddressBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasProjectIdOrNum
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the projectIdOrNum field is set.
-
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;
- Specified by:
getProjectIdOrNum
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The projectIdOrNum.
-
getProjectIdOrNumBytes
public com.google.protobuf.ByteString getProjectIdOrNumBytes()
The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
- Specified by:
getProjectIdOrNumBytes
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for projectIdOrNum.
-
setProjectIdOrNum
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;
- Parameters:
value
- The projectIdOrNum to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setProjectIdOrNumBytes
public NetworkAttachmentConnectedEndpoint.Builder setProjectIdOrNumBytes(com.google.protobuf.ByteString value)
The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;
- Parameters:
value
- The bytes for projectIdOrNum to set.- Returns:
- This builder for chaining.
-
getSecondaryIpCidrRangesList
public com.google.protobuf.ProtocolStringList getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Specified by:
getSecondaryIpCidrRangesList
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- A list containing the secondaryIpCidrRanges.
-
getSecondaryIpCidrRangesCount
public int getSecondaryIpCidrRangesCount()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Specified by:
getSecondaryIpCidrRangesCount
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The count of secondaryIpCidrRanges.
-
getSecondaryIpCidrRanges
public String getSecondaryIpCidrRanges(int index)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Specified by:
getSecondaryIpCidrRanges
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The secondaryIpCidrRanges at the given index.
-
getSecondaryIpCidrRangesBytes
public com.google.protobuf.ByteString getSecondaryIpCidrRangesBytes(int index)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Specified by:
getSecondaryIpCidrRangesBytes
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the secondaryIpCidrRanges at the given index.
-
setSecondaryIpCidrRanges
public NetworkAttachmentConnectedEndpoint.Builder setSecondaryIpCidrRanges(int index, String value)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Parameters:
index
- The index to set the value at.value
- The secondaryIpCidrRanges to set.- Returns:
- This builder for chaining.
-
addSecondaryIpCidrRanges
public NetworkAttachmentConnectedEndpoint.Builder addSecondaryIpCidrRanges(String value)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Parameters:
value
- The secondaryIpCidrRanges to add.- Returns:
- This builder for chaining.
-
addAllSecondaryIpCidrRanges
public NetworkAttachmentConnectedEndpoint.Builder addAllSecondaryIpCidrRanges(Iterable<String> values)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Parameters:
values
- The secondaryIpCidrRanges to add.- Returns:
- This builder for chaining.
-
clearSecondaryIpCidrRanges
public NetworkAttachmentConnectedEndpoint.Builder clearSecondaryIpCidrRanges()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Returns:
- This builder for chaining.
-
addSecondaryIpCidrRangesBytes
public NetworkAttachmentConnectedEndpoint.Builder addSecondaryIpCidrRangesBytes(com.google.protobuf.ByteString value)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
- Parameters:
value
- The bytes of the secondaryIpCidrRanges to add.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasStatus
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the status field is set.
-
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;
- Specified by:
getStatus
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.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;
- Specified by:
getStatusBytes
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for status.
-
setStatus
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;
- Parameters:
value
- The status to set.- Returns:
- 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:
- This builder for chaining.
-
setStatusBytes
public NetworkAttachmentConnectedEndpoint.Builder setStatusBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasSubnetwork
public boolean hasSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Specified by:
hasSubnetwork
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
public String getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Specified by:
getSubnetwork
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Specified by:
getSubnetworkBytes
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for subnetwork.
-
setSubnetwork
public NetworkAttachmentConnectedEndpoint.Builder setSubnetwork(String value)
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Parameters:
value
- The subnetwork to set.- Returns:
- 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:
- This builder for chaining.
-
setSubnetworkBytes
public NetworkAttachmentConnectedEndpoint.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;
- Parameters:
value
- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkAttachmentConnectedEndpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
mergeUnknownFields
public final NetworkAttachmentConnectedEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkAttachmentConnectedEndpoint.Builder>
-
-