Class CommonFeatureState.Builder

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

public static final class CommonFeatureState.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommonFeatureState.Builder> implements CommonFeatureStateOrBuilder
 CommonFeatureState contains Hub-wide Feature status information.
 
Protobuf type google.cloud.gkehub.v1beta.CommonFeatureState
  • 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<CommonFeatureState.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<CommonFeatureState.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<CommonFeatureState.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public CommonFeatureState.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<CommonFeatureState.Builder>
      Throws:
      IOException
    • hasState

      public boolean hasState()
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasState in interface CommonFeatureStateOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public FeatureState getState()
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface CommonFeatureStateOrBuilder
      Returns:
      The state.
    • setState

      public CommonFeatureState.Builder setState(FeatureState value)
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setState

      public CommonFeatureState.Builder setState(FeatureState.Builder builderForValue)
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeState

      public CommonFeatureState.Builder mergeState(FeatureState value)
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearState

      public CommonFeatureState.Builder clearState()
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateBuilder

      public FeatureState.Builder getStateBuilder()
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateOrBuilder

      public FeatureStateOrBuilder getStateOrBuilder()
       Output only. The "running state" of the Feature in this Hub.
       
      .google.cloud.gkehub.v1beta.FeatureState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateOrBuilder in interface CommonFeatureStateOrBuilder