Class GetStatusResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.GetStatusResponse
All Implemented Interfaces:
GetStatusResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GetStatusResponse extends com.google.protobuf.GeneratedMessage implements GetStatusResponseOrBuilder
 Message for the response to getting a Transport's operational status.
 
Protobuf type google.cloud.networkconnectivity.v1beta.GetStatusResponse
See Also:
  • Field Details

    • OVERALL_STATUS_FIELD_NUMBER

      public static final int OVERALL_STATUS_FIELD_NUMBER
      See Also:
    • OPERATIONAL_STATUS_FIELD_NUMBER

      public static final int OPERATIONAL_STATUS_FIELD_NUMBER
      See Also:
    • CONNECTIVITY_STATUS_FIELD_NUMBER

      public static final int CONNECTIVITY_STATUS_FIELD_NUMBER
      See Also:
    • MAC_SEC_STATUS_FIELD_NUMBER

      public static final int MAC_SEC_STATUS_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
    • getOverallStatusValue

      public int getOverallStatusValue()
       The overall status of the Transport. This field will always output the most
       critical status of the Transport. For example, if the connectivity is
       DISCONNECTED, and the underlying networking components are DOWN, then
       the overall status will be DOWN.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;
      Specified by:
      getOverallStatusValue in interface GetStatusResponseOrBuilder
      Returns:
      The enum numeric value on the wire for overallStatus.
    • getOverallStatus

      public GetStatusResponse.OverallStatus getOverallStatus()
       The overall status of the Transport. This field will always output the most
       critical status of the Transport. For example, if the connectivity is
       DISCONNECTED, and the underlying networking components are DOWN, then
       the overall status will be DOWN.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OverallStatus overall_status = 1;
      Specified by:
      getOverallStatus in interface GetStatusResponseOrBuilder
      Returns:
      The overallStatus.
    • getOperationalStatusValue

      public int getOperationalStatusValue()
       The operational status of the underlying networking components.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;
      Specified by:
      getOperationalStatusValue in interface GetStatusResponseOrBuilder
      Returns:
      The enum numeric value on the wire for operationalStatus.
    • getOperationalStatus

      public GetStatusResponse.OperationalStatus getOperationalStatus()
       The operational status of the underlying networking components.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;
      Specified by:
      getOperationalStatus in interface GetStatusResponseOrBuilder
      Returns:
      The operationalStatus.
    • getConnectivityStatusValue

      public int getConnectivityStatusValue()
       Current status of connectivity to the local GCP resource. This reflects
       whether the VPC Peering or NCC Hub appears correctly configured.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;
      Specified by:
      getConnectivityStatusValue in interface GetStatusResponseOrBuilder
      Returns:
      The enum numeric value on the wire for connectivityStatus.
    • getConnectivityStatus

      public GetStatusResponse.ConnectivityStatus getConnectivityStatus()
       Current status of connectivity to the local GCP resource. This reflects
       whether the VPC Peering or NCC Hub appears correctly configured.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.ConnectivityStatus connectivity_status = 3;
      Specified by:
      getConnectivityStatus in interface GetStatusResponseOrBuilder
      Returns:
      The connectivityStatus.
    • getMacSecStatusValue

      public int getMacSecStatusValue()
       Current status of MACSec on the underlying network connectivity between GC
       and the partner.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;
      Specified by:
      getMacSecStatusValue in interface GetStatusResponseOrBuilder
      Returns:
      The enum numeric value on the wire for macSecStatus.
    • getMacSecStatus

      public GetStatusResponse.MacSecStatus getMacSecStatus()
       Current status of MACSec on the underlying network connectivity between GC
       and the partner.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;
      Specified by:
      getMacSecStatus in interface GetStatusResponseOrBuilder
      Returns:
      The macSecStatus.
    • 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 GetStatusResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GetStatusResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static GetStatusResponse getDefaultInstance()
    • parser

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

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