Class PolicyBasedRoute.InterconnectAttachment (1.26.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PolicyBasedRoute.InterconnectAttachment

Static Fields

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PolicyBasedRoute.InterconnectAttachment getDefaultInstance()
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PolicyBasedRoute.InterconnectAttachment.Builder newBuilder()
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment.Builder

newBuilder(PolicyBasedRoute.InterconnectAttachment prototype)

public static PolicyBasedRoute.InterconnectAttachment.Builder newBuilder(PolicyBasedRoute.InterconnectAttachment prototype)
Parameter
NameDescription
prototypePolicyBasedRoute.InterconnectAttachment
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment.Builder

parseDelimitedFrom(InputStream input)

public static PolicyBasedRoute.InterconnectAttachment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyBasedRoute.InterconnectAttachment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyBasedRoute.InterconnectAttachment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PolicyBasedRoute.InterconnectAttachment> parser()
Returns
TypeDescription
Parser<InterconnectAttachment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PolicyBasedRoute.InterconnectAttachment getDefaultInstanceForType()
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment

getParserForType()

public Parser<PolicyBasedRoute.InterconnectAttachment> getParserForType()
Returns
TypeDescription
Parser<InterconnectAttachment>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PolicyBasedRoute.InterconnectAttachment.Builder newBuilderForType()
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyBasedRoute.InterconnectAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PolicyBasedRoute.InterconnectAttachment.Builder toBuilder()
Returns
TypeDescription
PolicyBasedRoute.InterconnectAttachment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException