Class InterconnectDiagnosticsLinkLACPStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
com.google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus.Builder
All Implemented Interfaces:
InterconnectDiagnosticsLinkLACPStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterconnectDiagnosticsLinkLACPStatus

public static final class InterconnectDiagnosticsLinkLACPStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder> implements InterconnectDiagnosticsLinkLACPStatusOrBuilder
 
Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus
  • 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.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
    • getDefaultInstanceForType

      public InterconnectDiagnosticsLinkLACPStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
    • mergeFrom

      public InterconnectDiagnosticsLinkLACPStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectDiagnosticsLinkLACPStatus.Builder>
      Throws:
      IOException
    • hasGoogleSystemId

      public boolean hasGoogleSystemId()
       System ID of the port on Google's side of the LACP exchange.
       
      optional string google_system_id = 91210405;
      Specified by:
      hasGoogleSystemId in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      Whether the googleSystemId field is set.
    • getGoogleSystemId

      public String getGoogleSystemId()
       System ID of the port on Google's side of the LACP exchange.
       
      optional string google_system_id = 91210405;
      Specified by:
      getGoogleSystemId in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      The googleSystemId.
    • getGoogleSystemIdBytes

      public com.google.protobuf.ByteString getGoogleSystemIdBytes()
       System ID of the port on Google's side of the LACP exchange.
       
      optional string google_system_id = 91210405;
      Specified by:
      getGoogleSystemIdBytes in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      The bytes for googleSystemId.
    • setGoogleSystemId

      public InterconnectDiagnosticsLinkLACPStatus.Builder setGoogleSystemId(String value)
       System ID of the port on Google's side of the LACP exchange.
       
      optional string google_system_id = 91210405;
      Parameters:
      value - The googleSystemId to set.
      Returns:
      This builder for chaining.
    • clearGoogleSystemId

      public InterconnectDiagnosticsLinkLACPStatus.Builder clearGoogleSystemId()
       System ID of the port on Google's side of the LACP exchange.
       
      optional string google_system_id = 91210405;
      Returns:
      This builder for chaining.
    • setGoogleSystemIdBytes

      public InterconnectDiagnosticsLinkLACPStatus.Builder setGoogleSystemIdBytes(com.google.protobuf.ByteString value)
       System ID of the port on Google's side of the LACP exchange.
       
      optional string google_system_id = 91210405;
      Parameters:
      value - The bytes for googleSystemId to set.
      Returns:
      This builder for chaining.
    • hasNeighborSystemId

      public boolean hasNeighborSystemId()
       System ID of the port on the neighbor's side of the LACP exchange.
       
      optional string neighbor_system_id = 343821342;
      Specified by:
      hasNeighborSystemId in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      Whether the neighborSystemId field is set.
    • getNeighborSystemId

      public String getNeighborSystemId()
       System ID of the port on the neighbor's side of the LACP exchange.
       
      optional string neighbor_system_id = 343821342;
      Specified by:
      getNeighborSystemId in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      The neighborSystemId.
    • getNeighborSystemIdBytes

      public com.google.protobuf.ByteString getNeighborSystemIdBytes()
       System ID of the port on the neighbor's side of the LACP exchange.
       
      optional string neighbor_system_id = 343821342;
      Specified by:
      getNeighborSystemIdBytes in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      The bytes for neighborSystemId.
    • setNeighborSystemId

      public InterconnectDiagnosticsLinkLACPStatus.Builder setNeighborSystemId(String value)
       System ID of the port on the neighbor's side of the LACP exchange.
       
      optional string neighbor_system_id = 343821342;
      Parameters:
      value - The neighborSystemId to set.
      Returns:
      This builder for chaining.
    • clearNeighborSystemId

      public InterconnectDiagnosticsLinkLACPStatus.Builder clearNeighborSystemId()
       System ID of the port on the neighbor's side of the LACP exchange.
       
      optional string neighbor_system_id = 343821342;
      Returns:
      This builder for chaining.
    • setNeighborSystemIdBytes

      public InterconnectDiagnosticsLinkLACPStatus.Builder setNeighborSystemIdBytes(com.google.protobuf.ByteString value)
       System ID of the port on the neighbor's side of the LACP exchange.
       
      optional string neighbor_system_id = 343821342;
      Parameters:
      value - The bytes for neighborSystemId to set.
      Returns:
      This builder for chaining.
    • hasState

      public boolean hasState()
       The state of a LACP link, which can take one of the following values:
      
       - ACTIVE: The link is configured and active within the bundle.
       - DETACHED: The link is not configured within the bundle. This means
       that the rest of the object should be empty.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      hasState in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       The state of a LACP link, which can take one of the following values:
      
       - ACTIVE: The link is configured and active within the bundle.
       - DETACHED: The link is not configured within the bundle. This means
       that the rest of the object should be empty.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getState in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       The state of a LACP link, which can take one of the following values:
      
       - ACTIVE: The link is configured and active within the bundle.
       - DETACHED: The link is not configured within the bundle. This means
       that the rest of the object should be empty.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getStateBytes in interface InterconnectDiagnosticsLinkLACPStatusOrBuilder
      Returns:
      The bytes for state.
    • setState

       The state of a LACP link, which can take one of the following values:
      
       - ACTIVE: The link is configured and active within the bundle.
       - DETACHED: The link is not configured within the bundle. This means
       that the rest of the object should be empty.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       The state of a LACP link, which can take one of the following values:
      
       - ACTIVE: The link is configured and active within the bundle.
       - DETACHED: The link is not configured within the bundle. This means
       that the rest of the object should be empty.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      This builder for chaining.
    • setStateBytes

      public InterconnectDiagnosticsLinkLACPStatus.Builder setStateBytes(com.google.protobuf.ByteString value)
       The state of a LACP link, which can take one of the following values:
      
       - ACTIVE: The link is configured and active within the bundle.
       - DETACHED: The link is not configured within the bundle. This means
       that the rest of the object should be empty.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Parameters:
      value - The bytes for state to set.
      Returns:
      This builder for chaining.