Class InterconnectDiagnosticsMacsecStatus.Builder

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

public static final class InterconnectDiagnosticsMacsecStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsMacsecStatus.Builder> implements InterconnectDiagnosticsMacsecStatusOrBuilder
 Describes the status of MACsec encryption on the link.
 
Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsMacsecStatus
  • 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<InterconnectDiagnosticsMacsecStatus.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<InterconnectDiagnosticsMacsecStatus.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<InterconnectDiagnosticsMacsecStatus.Builder>
    • getDefaultInstanceForType

      public InterconnectDiagnosticsMacsecStatus 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

      public InterconnectDiagnosticsMacsecStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectDiagnosticsMacsecStatus.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<InterconnectDiagnosticsMacsecStatus.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<InterconnectDiagnosticsMacsecStatus.Builder>
    • mergeFrom

      public InterconnectDiagnosticsMacsecStatus.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<InterconnectDiagnosticsMacsecStatus.Builder>
      Throws:
      IOException
    • hasCkn

      public boolean hasCkn()
       Indicates the Connectivity Association Key Name (CKN)
       currently being used if MACsec is operational.
       
      optional string ckn = 98566;
      Specified by:
      hasCkn in interface InterconnectDiagnosticsMacsecStatusOrBuilder
      Returns:
      Whether the ckn field is set.
    • getCkn

      public String getCkn()
       Indicates the Connectivity Association Key Name (CKN)
       currently being used if MACsec is operational.
       
      optional string ckn = 98566;
      Specified by:
      getCkn in interface InterconnectDiagnosticsMacsecStatusOrBuilder
      Returns:
      The ckn.
    • getCknBytes

      public com.google.protobuf.ByteString getCknBytes()
       Indicates the Connectivity Association Key Name (CKN)
       currently being used if MACsec is operational.
       
      optional string ckn = 98566;
      Specified by:
      getCknBytes in interface InterconnectDiagnosticsMacsecStatusOrBuilder
      Returns:
      The bytes for ckn.
    • setCkn

       Indicates the Connectivity Association Key Name (CKN)
       currently being used if MACsec is operational.
       
      optional string ckn = 98566;
      Parameters:
      value - The ckn to set.
      Returns:
      This builder for chaining.
    • clearCkn

       Indicates the Connectivity Association Key Name (CKN)
       currently being used if MACsec is operational.
       
      optional string ckn = 98566;
      Returns:
      This builder for chaining.
    • setCknBytes

      public InterconnectDiagnosticsMacsecStatus.Builder setCknBytes(com.google.protobuf.ByteString value)
       Indicates the Connectivity Association Key Name (CKN)
       currently being used if MACsec is operational.
       
      optional string ckn = 98566;
      Parameters:
      value - The bytes for ckn to set.
      Returns:
      This builder for chaining.
    • hasOperational

      public boolean hasOperational()
       Indicates whether or not MACsec is operational on this link.
       
      optional bool operational = 129704914;
      Specified by:
      hasOperational in interface InterconnectDiagnosticsMacsecStatusOrBuilder
      Returns:
      Whether the operational field is set.
    • getOperational

      public boolean getOperational()
       Indicates whether or not MACsec is operational on this link.
       
      optional bool operational = 129704914;
      Specified by:
      getOperational in interface InterconnectDiagnosticsMacsecStatusOrBuilder
      Returns:
      The operational.
    • setOperational

      public InterconnectDiagnosticsMacsecStatus.Builder setOperational(boolean value)
       Indicates whether or not MACsec is operational on this link.
       
      optional bool operational = 129704914;
      Parameters:
      value - The operational to set.
      Returns:
      This builder for chaining.
    • clearOperational

       Indicates whether or not MACsec is operational on this link.
       
      optional bool operational = 129704914;
      Returns:
      This builder for chaining.