public static final class PolicyBasedRoute.InterconnectAttachment extends GeneratedMessageV3 implements PolicyBasedRoute.InterconnectAttachmentOrBuilder
InterconnectAttachment to which this route applies to.
Protobuf type
google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment
Static Fields
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PolicyBasedRoute.InterconnectAttachment getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PolicyBasedRoute.InterconnectAttachment.Builder newBuilder()
Returns
newBuilder(PolicyBasedRoute.InterconnectAttachment prototype)
public static PolicyBasedRoute.InterconnectAttachment.Builder newBuilder(PolicyBasedRoute.InterconnectAttachment prototype)
Parameter
Returns
public static PolicyBasedRoute.InterconnectAttachment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PolicyBasedRoute.InterconnectAttachment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PolicyBasedRoute.InterconnectAttachment parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.InterconnectAttachment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PolicyBasedRoute.InterconnectAttachment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PolicyBasedRoute.InterconnectAttachment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PolicyBasedRoute.InterconnectAttachment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PolicyBasedRoute.InterconnectAttachment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PolicyBasedRoute.InterconnectAttachment> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PolicyBasedRoute.InterconnectAttachment getDefaultInstanceForType()
Returns
getParserForType()
public Parser<PolicyBasedRoute.InterconnectAttachment> getParserForType()
Returns
Overrides
getRegion()
public String getRegion()
Optional. Cloud region to install this policy based route on interconnect
attachment. Use all
to install it on all interconnect attachments.
string region = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The region.
|
getRegionBytes()
public ByteString getRegionBytes()
Optional. Cloud region to install this policy based route on interconnect
attachment. Use all
to install it on all interconnect attachments.
string region = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PolicyBasedRoute.InterconnectAttachment.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PolicyBasedRoute.InterconnectAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PolicyBasedRoute.InterconnectAttachment.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions