Class WireGroup

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

@Generated public final class WireGroup extends com.google.protobuf.GeneratedMessage implements WireGroupOrBuilder
 A resource that represents a group of redundant wires.
 
Protobuf type google.cloud.compute.v1.WireGroup
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

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

      public boolean hasAdminEnabled()
       Indicates whether the wires in the wire group are enabled. When false, the
       wires in the wire group are disabled. When true and when
       there is simultaneously no wire-specific override of `adminEnabled` to
       false, a given wire is enabled. Defaults to true.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      hasAdminEnabled in interface WireGroupOrBuilder
      Returns:
      Whether the adminEnabled field is set.
    • getAdminEnabled

      public boolean getAdminEnabled()
       Indicates whether the wires in the wire group are enabled. When false, the
       wires in the wire group are disabled. When true and when
       there is simultaneously no wire-specific override of `adminEnabled` to
       false, a given wire is enabled. Defaults to true.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      getAdminEnabled in interface WireGroupOrBuilder
      Returns:
      The adminEnabled.
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface WireGroupOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface WireGroupOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface WireGroupOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • hasDescription

      public boolean hasDescription()
       An optional description of the wire group.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface WireGroupOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of the wire group.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface WireGroupOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of the wire group.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface WireGroupOrBuilder
      Returns:
      The bytes for description.
    • getEndpointsCount

      public int getEndpointsCount()
      Description copied from interface: WireGroupOrBuilder
       A map that contains the logical endpoints of the wire group. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Endpoint object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;
      Specified by:
      getEndpointsCount in interface WireGroupOrBuilder
    • containsEndpoints

      public boolean containsEndpoints(String key)
       A map that contains the logical endpoints of the wire group. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Endpoint object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;
      Specified by:
      containsEndpoints in interface WireGroupOrBuilder
    • getEndpoints

      @Deprecated public Map<String,WireGroupEndpoint> getEndpoints()
      Deprecated.
      Use getEndpointsMap() instead.
      Specified by:
      getEndpoints in interface WireGroupOrBuilder
    • getEndpointsMap

      public Map<String,WireGroupEndpoint> getEndpointsMap()
       A map that contains the logical endpoints of the wire group. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Endpoint object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;
      Specified by:
      getEndpointsMap in interface WireGroupOrBuilder
    • getEndpointsOrDefault

      public WireGroupEndpoint getEndpointsOrDefault(String key, WireGroupEndpoint defaultValue)
       A map that contains the logical endpoints of the wire group. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Endpoint object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;
      Specified by:
      getEndpointsOrDefault in interface WireGroupOrBuilder
    • getEndpointsOrThrow

      public WireGroupEndpoint getEndpointsOrThrow(String key)
       A map that contains the logical endpoints of the wire group. Specify
       key-value pairs for the map as follows:
      
       - Key: an RFC1035 user-specified label.
       - Value: an Endpoint object.
       
      map<string, .google.cloud.compute.v1.WireGroupEndpoint> endpoints = 287085950;
      Specified by:
      getEndpointsOrThrow in interface WireGroupOrBuilder
    • hasId

      public boolean hasId()
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface WireGroupOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface WireGroupOrBuilder
      Returns:
      The id.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface WireGroupOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface WireGroupOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#wireGroups for wire groups.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface WireGroupOrBuilder
      Returns:
      The bytes for kind.
    • hasName

      public boolean hasName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface WireGroupOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface WireGroupOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface WireGroupOrBuilder
      Returns:
      The bytes for name.
    • hasReconciling

      public boolean hasReconciling()
       Output only. [Output Only] Indicates whether there are wire changes yet to be processed.
       
      optional bool reconciling = 432155787;
      Specified by:
      hasReconciling in interface WireGroupOrBuilder
      Returns:
      Whether the reconciling field is set.
    • getReconciling

      public boolean getReconciling()
       Output only. [Output Only] Indicates whether there are wire changes yet to be processed.
       
      optional bool reconciling = 432155787;
      Specified by:
      getReconciling in interface WireGroupOrBuilder
      Returns:
      The reconciling.
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface WireGroupOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface WireGroupOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface WireGroupOrBuilder
      Returns:
      The bytes for selfLink.
    • hasTopology

      public boolean hasTopology()
       Output only. Topology details for the wire group configuration.
       
      optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;
      Specified by:
      hasTopology in interface WireGroupOrBuilder
      Returns:
      Whether the topology field is set.
    • getTopology

      public WireGroupTopology getTopology()
       Output only. Topology details for the wire group configuration.
       
      optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;
      Specified by:
      getTopology in interface WireGroupOrBuilder
      Returns:
      The topology.
    • getTopologyOrBuilder

      public WireGroupTopologyOrBuilder getTopologyOrBuilder()
       Output only. Topology details for the wire group configuration.
       
      optional .google.cloud.compute.v1.WireGroupTopology topology = 122274415;
      Specified by:
      getTopologyOrBuilder in interface WireGroupOrBuilder
    • hasWireProperties

      public boolean hasWireProperties()
       Properties for all wires in the wire group.
       
      optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
      Specified by:
      hasWireProperties in interface WireGroupOrBuilder
      Returns:
      Whether the wireProperties field is set.
    • getWireProperties

      public WireProperties getWireProperties()
       Properties for all wires in the wire group.
       
      optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
      Specified by:
      getWireProperties in interface WireGroupOrBuilder
      Returns:
      The wireProperties.
    • getWirePropertiesOrBuilder

      public WirePropertiesOrBuilder getWirePropertiesOrBuilder()
       Properties for all wires in the wire group.
       
      optional .google.cloud.compute.v1.WireProperties wire_properties = 303111469;
      Specified by:
      getWirePropertiesOrBuilder in interface WireGroupOrBuilder
    • getWiresList

      public List<Wire> getWiresList()
       Output only. The single/redundant wire(s) managed by the wire group.
       
      repeated .google.cloud.compute.v1.Wire wires = 113139854;
      Specified by:
      getWiresList in interface WireGroupOrBuilder
    • getWiresOrBuilderList

      public List<? extends WireOrBuilder> getWiresOrBuilderList()
       Output only. The single/redundant wire(s) managed by the wire group.
       
      repeated .google.cloud.compute.v1.Wire wires = 113139854;
      Specified by:
      getWiresOrBuilderList in interface WireGroupOrBuilder
    • getWiresCount

      public int getWiresCount()
       Output only. The single/redundant wire(s) managed by the wire group.
       
      repeated .google.cloud.compute.v1.Wire wires = 113139854;
      Specified by:
      getWiresCount in interface WireGroupOrBuilder
    • getWires

      public Wire getWires(int index)
       Output only. The single/redundant wire(s) managed by the wire group.
       
      repeated .google.cloud.compute.v1.Wire wires = 113139854;
      Specified by:
      getWires in interface WireGroupOrBuilder
    • getWiresOrBuilder

      public WireOrBuilder getWiresOrBuilder(int index)
       Output only. The single/redundant wire(s) managed by the wire group.
       
      repeated .google.cloud.compute.v1.Wire wires = 113139854;
      Specified by:
      getWiresOrBuilder in interface WireGroupOrBuilder
    • 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 WireGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static WireGroup.Builder newBuilder()
    • newBuilder

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

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

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

      public static WireGroup getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<WireGroup> 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 WireGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder