Class GetStatusResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder>
com.google.cloud.networkconnectivity.v1beta.GetStatusResponse.Builder
All Implemented Interfaces:
GetStatusResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetStatusResponse

public static final class GetStatusResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetStatusResponse.Builder> implements GetStatusResponseOrBuilder
 Message for the response to getting a Transport's operational status.
 
Protobuf type google.cloud.networkconnectivity.v1beta.GetStatusResponse
  • 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<GetStatusResponse.Builder>
    • clear

      public GetStatusResponse.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<GetStatusResponse.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<GetStatusResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GetStatusResponse.Builder mergeFrom(GetStatusResponse other)
    • isInitialized

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

      public GetStatusResponse.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<GetStatusResponse.Builder>
      Throws:
      IOException
    • 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.
    • setOverallStatusValue

      public GetStatusResponse.Builder setOverallStatusValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for overallStatus to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOverallStatus

       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;
      Parameters:
      value - The overallStatus to set.
      Returns:
      This builder for chaining.
    • clearOverallStatus

      public GetStatusResponse.Builder clearOverallStatus()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setOperationalStatusValue

      public GetStatusResponse.Builder setOperationalStatusValue(int value)
       The operational status of the underlying networking components.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;
      Parameters:
      value - The enum numeric value on the wire for operationalStatus to set.
      Returns:
      This builder for chaining.
    • 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.
    • setOperationalStatus

       The operational status of the underlying networking components.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;
      Parameters:
      value - The operationalStatus to set.
      Returns:
      This builder for chaining.
    • clearOperationalStatus

      public GetStatusResponse.Builder clearOperationalStatus()
       The operational status of the underlying networking components.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.OperationalStatus operational_status = 2;
      Returns:
      This builder for chaining.
    • 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.
    • setConnectivityStatusValue

      public GetStatusResponse.Builder setConnectivityStatusValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for connectivityStatus to set.
      Returns:
      This builder for chaining.
    • 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.
    • setConnectivityStatus

       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;
      Parameters:
      value - The connectivityStatus to set.
      Returns:
      This builder for chaining.
    • clearConnectivityStatus

      public GetStatusResponse.Builder clearConnectivityStatus()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setMacSecStatusValue

      public GetStatusResponse.Builder setMacSecStatusValue(int value)
       Current status of MACSec on the underlying network connectivity between GC
       and the partner.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;
      Parameters:
      value - The enum numeric value on the wire for macSecStatus to set.
      Returns:
      This builder for chaining.
    • 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.
    • setMacSecStatus

       Current status of MACSec on the underlying network connectivity between GC
       and the partner.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;
      Parameters:
      value - The macSecStatus to set.
      Returns:
      This builder for chaining.
    • clearMacSecStatus

      public GetStatusResponse.Builder clearMacSecStatus()
       Current status of MACSec on the underlying network connectivity between GC
       and the partner.
       
      .google.cloud.networkconnectivity.v1beta.GetStatusResponse.MacSecStatus mac_sec_status = 4;
      Returns:
      This builder for chaining.