Class InterconnectAttachmentInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Builder
- All Implemented Interfaces:
InterconnectAttachmentInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InterconnectAttachmentInfo
public static final class InterconnectAttachmentInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
implements InterconnectAttachmentInfoOrBuilder
For display only. Metadata associated with an Interconnect attachment.Protobuf type
google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()URI of the Cloud Router to be used for dynamic routing.Name of an Interconnect attachment.URI of the Interconnect where the Interconnect attachment is configured.Appliance IP address that was matched for L2_DEDICATED attachments.Name of a Google Cloud region where the Interconnect attachment is configured.The type of interconnect attachment this is.clearUri()URI of an Interconnect attachment.URI of the Cloud Router to be used for dynamic routing.com.google.protobuf.ByteStringURI of the Cloud Router to be used for dynamic routing.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName of an Interconnect attachment.com.google.protobuf.ByteStringName of an Interconnect attachment.URI of the Interconnect where the Interconnect attachment is configured.com.google.protobuf.ByteStringURI of the Interconnect where the Interconnect attachment is configured.Appliance IP address that was matched for L2_DEDICATED attachments.com.google.protobuf.ByteStringAppliance IP address that was matched for L2_DEDICATED attachments.Name of a Google Cloud region where the Interconnect attachment is configured.com.google.protobuf.ByteStringName of a Google Cloud region where the Interconnect attachment is configured.getType()The type of interconnect attachment this is.intThe type of interconnect attachment this is.getUri()URI of an Interconnect attachment.com.google.protobuf.ByteStringURI of an Interconnect attachment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCloudRouterUri(String value) URI of the Cloud Router to be used for dynamic routing.setCloudRouterUriBytes(com.google.protobuf.ByteString value) URI of the Cloud Router to be used for dynamic routing.setDisplayName(String value) Name of an Interconnect attachment.setDisplayNameBytes(com.google.protobuf.ByteString value) Name of an Interconnect attachment.setInterconnectUri(String value) URI of the Interconnect where the Interconnect attachment is configured.setInterconnectUriBytes(com.google.protobuf.ByteString value) URI of the Interconnect where the Interconnect attachment is configured.Appliance IP address that was matched for L2_DEDICATED attachments.setL2AttachmentMatchedIpAddressBytes(com.google.protobuf.ByteString value) Appliance IP address that was matched for L2_DEDICATED attachments.Name of a Google Cloud region where the Interconnect attachment is configured.setRegionBytes(com.google.protobuf.ByteString value) Name of a Google Cloud region where the Interconnect attachment is configured.The type of interconnect attachment this is.setTypeValue(int value) The type of interconnect attachment this is.URI of an Interconnect attachment.setUriBytes(com.google.protobuf.ByteString value) URI of an Interconnect attachment.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentInfo.Builder>
-
mergeFrom
public InterconnectAttachmentInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentInfo.Builder>- Throws:
IOException
-
getDisplayName
Name of an Interconnect attachment.
string display_name = 1;- Specified by:
getDisplayNamein interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of an Interconnect attachment.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of an Interconnect attachment.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of an Interconnect attachment.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of an Interconnect attachment.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
URI of an Interconnect attachment.
string uri = 2;- Specified by:
getUriin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of an Interconnect attachment.
string uri = 2;- Specified by:
getUriBytesin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of an Interconnect attachment.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of an Interconnect attachment.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
URI of an Interconnect attachment.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getInterconnectUri
URI of the Interconnect where the Interconnect attachment is configured.
string interconnect_uri = 3;- Specified by:
getInterconnectUriin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The interconnectUri.
-
getInterconnectUriBytes
public com.google.protobuf.ByteString getInterconnectUriBytes()URI of the Interconnect where the Interconnect attachment is configured.
string interconnect_uri = 3;- Specified by:
getInterconnectUriBytesin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The bytes for interconnectUri.
-
setInterconnectUri
URI of the Interconnect where the Interconnect attachment is configured.
string interconnect_uri = 3;- Parameters:
value- The interconnectUri to set.- Returns:
- This builder for chaining.
-
clearInterconnectUri
URI of the Interconnect where the Interconnect attachment is configured.
string interconnect_uri = 3;- Returns:
- This builder for chaining.
-
setInterconnectUriBytes
public InterconnectAttachmentInfo.Builder setInterconnectUriBytes(com.google.protobuf.ByteString value) URI of the Interconnect where the Interconnect attachment is configured.
string interconnect_uri = 3;- Parameters:
value- The bytes for interconnectUri to set.- Returns:
- This builder for chaining.
-
getRegion
Name of a Google Cloud region where the Interconnect attachment is configured.
string region = 4;- Specified by:
getRegionin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Name of a Google Cloud region where the Interconnect attachment is configured.
string region = 4;- Specified by:
getRegionBytesin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
Name of a Google Cloud region where the Interconnect attachment is configured.
string region = 4;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Name of a Google Cloud region where the Interconnect attachment is configured.
string region = 4;- Returns:
- This builder for chaining.
-
setRegionBytes
Name of a Google Cloud region where the Interconnect attachment is configured.
string region = 4;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
getCloudRouterUri
URI of the Cloud Router to be used for dynamic routing.
string cloud_router_uri = 5;- Specified by:
getCloudRouterUriin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The cloudRouterUri.
-
getCloudRouterUriBytes
public com.google.protobuf.ByteString getCloudRouterUriBytes()URI of the Cloud Router to be used for dynamic routing.
string cloud_router_uri = 5;- Specified by:
getCloudRouterUriBytesin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The bytes for cloudRouterUri.
-
setCloudRouterUri
URI of the Cloud Router to be used for dynamic routing.
string cloud_router_uri = 5;- Parameters:
value- The cloudRouterUri to set.- Returns:
- This builder for chaining.
-
clearCloudRouterUri
URI of the Cloud Router to be used for dynamic routing.
string cloud_router_uri = 5;- Returns:
- This builder for chaining.
-
setCloudRouterUriBytes
public InterconnectAttachmentInfo.Builder setCloudRouterUriBytes(com.google.protobuf.ByteString value) URI of the Cloud Router to be used for dynamic routing.
string cloud_router_uri = 5;- Parameters:
value- The bytes for cloudRouterUri to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()The type of interconnect attachment this is.
.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;- Specified by:
getTypeValuein interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of interconnect attachment this is.
.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of interconnect attachment this is.
.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;- Specified by:
getTypein interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The type.
-
setType
The type of interconnect attachment this is.
.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of interconnect attachment this is.
.google.cloud.networkmanagement.v1beta1.InterconnectAttachmentInfo.Type type = 6;- Returns:
- This builder for chaining.
-
getL2AttachmentMatchedIpAddress
Appliance IP address that was matched for L2_DEDICATED attachments.
string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }- Specified by:
getL2AttachmentMatchedIpAddressin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The l2AttachmentMatchedIpAddress.
-
getL2AttachmentMatchedIpAddressBytes
public com.google.protobuf.ByteString getL2AttachmentMatchedIpAddressBytes()Appliance IP address that was matched for L2_DEDICATED attachments.
string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }- Specified by:
getL2AttachmentMatchedIpAddressBytesin interfaceInterconnectAttachmentInfoOrBuilder- Returns:
- The bytes for l2AttachmentMatchedIpAddress.
-
setL2AttachmentMatchedIpAddress
Appliance IP address that was matched for L2_DEDICATED attachments.
string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }- Parameters:
value- The l2AttachmentMatchedIpAddress to set.- Returns:
- This builder for chaining.
-
clearL2AttachmentMatchedIpAddress
Appliance IP address that was matched for L2_DEDICATED attachments.
string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }- Returns:
- This builder for chaining.
-
setL2AttachmentMatchedIpAddressBytes
public InterconnectAttachmentInfo.Builder setL2AttachmentMatchedIpAddressBytes(com.google.protobuf.ByteString value) Appliance IP address that was matched for L2_DEDICATED attachments.
string l2_attachment_matched_ip_address = 7 [(.google.api.field_info) = { ... }- Parameters:
value- The bytes for l2AttachmentMatchedIpAddress to set.- Returns:
- This builder for chaining.
-