Class Wire

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.Wire
All Implemented Interfaces:
WireOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Wire extends com.google.protobuf.GeneratedMessage implements WireOrBuilder
 A pseudowire that connects two Interconnect connections.
 
Protobuf type google.cloud.compute.v1.Wire
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A pseudowire that connects two Interconnect connections.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    Output only.
    static Wire
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getEndpoints(int index)
    Output only.
    int
    Output only.
    Output only.
    Output only.
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    com.google.protobuf.Parser<Wire>
     
    int
     
    Output only.
    Output only.
    boolean
    Output only.
    int
     
    boolean
    Output only.
    boolean
    Output only.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Wire prototype)
     
     
    protected Wire.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Wire
     
    static Wire
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Wire
    parseFrom(byte[] data)
     
    static Wire
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Wire
    parseFrom(com.google.protobuf.ByteString data)
     
    static Wire
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Wire
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Wire
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Wire
     
    static Wire
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Wire
     
    static Wire
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Wire>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • ADMIN_ENABLED_FIELD_NUMBER

      public static final int ADMIN_ENABLED_FIELD_NUMBER
      See Also:
    • ENDPOINTS_FIELD_NUMBER

      public static final int ENDPOINTS_FIELD_NUMBER
      See Also:
    • LABEL_FIELD_NUMBER

      public static final int LABEL_FIELD_NUMBER
      See Also:
    • WIRE_PROPERTIES_FIELD_NUMBER

      public static final int WIRE_PROPERTIES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasAdminEnabled

      public boolean hasAdminEnabled()
       Output only. [Output Only] Indicates whether the wire is enabled.
       When false, the wire is disabled. When true and when the wire group of
       the wire is also enabled, the wire is enabled. Defaults to true.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      hasAdminEnabled in interface WireOrBuilder
      Returns:
      Whether the adminEnabled field is set.
    • getAdminEnabled

      public boolean getAdminEnabled()
       Output only. [Output Only] Indicates whether the wire is enabled.
       When false, the wire is disabled. When true and when the wire group of
       the wire is also enabled, the wire is enabled. Defaults to true.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      getAdminEnabled in interface WireOrBuilder
      Returns:
      The adminEnabled.
    • getEndpointsList

      public List<WireEndpoint> getEndpointsList()
       Output only. Wire endpoints are specific Interconnect connections.
       
      repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
      Specified by:
      getEndpointsList in interface WireOrBuilder
    • getEndpointsOrBuilderList

      public List<? extends WireEndpointOrBuilder> getEndpointsOrBuilderList()
       Output only. Wire endpoints are specific Interconnect connections.
       
      repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
      Specified by:
      getEndpointsOrBuilderList in interface WireOrBuilder
    • getEndpointsCount

      public int getEndpointsCount()
       Output only. Wire endpoints are specific Interconnect connections.
       
      repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
      Specified by:
      getEndpointsCount in interface WireOrBuilder
    • getEndpoints

      public WireEndpoint getEndpoints(int index)
       Output only. Wire endpoints are specific Interconnect connections.
       
      repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
      Specified by:
      getEndpoints in interface WireOrBuilder
    • getEndpointsOrBuilder

      public WireEndpointOrBuilder getEndpointsOrBuilder(int index)
       Output only. Wire endpoints are specific Interconnect connections.
       
      repeated .google.cloud.compute.v1.WireEndpoint endpoints = 287085950;
      Specified by:
      getEndpointsOrBuilder in interface WireOrBuilder
    • hasLabel

      public boolean hasLabel()
       Output only. [Output Only] A label that identifies the wire. The format of this label
       combines the existing labels of the wire group endpoints and Interconnect
       connections used by this wire in alphabetical order as follows:
       `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where:
      
       - ENDPOINT_A and ENDPOINT_B: are the labels
       that you entered as map keys when you specified the wire group endpoint
       objects.
       - CONNECTION_A1 and CONNECTION_B1: are the
       labels that you entered as map keys when you specified the wire group
       Interconnect objects.
       
      optional string label = 102727412;
      Specified by:
      hasLabel in interface WireOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public String getLabel()
       Output only. [Output Only] A label that identifies the wire. The format of this label
       combines the existing labels of the wire group endpoints and Interconnect
       connections used by this wire in alphabetical order as follows:
       `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where:
      
       - ENDPOINT_A and ENDPOINT_B: are the labels
       that you entered as map keys when you specified the wire group endpoint
       objects.
       - CONNECTION_A1 and CONNECTION_B1: are the
       labels that you entered as map keys when you specified the wire group
       Interconnect objects.
       
      optional string label = 102727412;
      Specified by:
      getLabel in interface WireOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
       Output only. [Output Only] A label that identifies the wire. The format of this label
       combines the existing labels of the wire group endpoints and Interconnect
       connections used by this wire in alphabetical order as follows:
       `ENDPOINT_A+CONNECTION_A1,ENDPOINT_B+CONNECTION_B1`, where:
      
       - ENDPOINT_A and ENDPOINT_B: are the labels
       that you entered as map keys when you specified the wire group endpoint
       objects.
       - CONNECTION_A1 and CONNECTION_B1: are the
       labels that you entered as map keys when you specified the wire group
       Interconnect objects.
       
      optional string label = 102727412;
      Specified by:
      getLabelBytes in interface WireOrBuilder
      Returns:
      The bytes for label.
    • hasWireProperties

      public boolean hasWireProperties()
       Output only. [Output Only] Properties of the wire.
       
      optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
      Specified by:
      hasWireProperties in interface WireOrBuilder
      Returns:
      Whether the wireProperties field is set.
    • getWireProperties

      public WireProperties getWireProperties()
       Output only. [Output Only] Properties of the wire.
       
      optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
      Specified by:
      getWireProperties in interface WireOrBuilder
      Returns:
      The wireProperties.
    • getWirePropertiesOrBuilder

      public WirePropertiesOrBuilder getWirePropertiesOrBuilder()
       Output only. [Output Only] Properties of the wire.
       
      optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
      Specified by:
      getWirePropertiesOrBuilder in interface WireOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Wire parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Wire parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Wire parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Wire parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Wire parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Wire parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Wire parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Wire parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Wire parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Wire parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Wire parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Wire parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Wire.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Wire.Builder newBuilder()
    • newBuilder

      public static Wire.Builder newBuilder(Wire prototype)
    • toBuilder

      public Wire.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Wire.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Wire getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Wire> parser()
    • getParserForType

      public com.google.protobuf.Parser<Wire> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Wire getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder