Class ScopeFeatureState.Builder

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

public static final class ScopeFeatureState.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScopeFeatureState.Builder> implements ScopeFeatureStateOrBuilder
 ScopeFeatureState contains Scope-wide Feature status information.
 
Protobuf type google.cloud.gkehub.v1.ScopeFeatureState
  • 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<ScopeFeatureState.Builder>
    • clear

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

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

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

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

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

      public ScopeFeatureState.Builder mergeFrom(ScopeFeatureState other)
    • isInitialized

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

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

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

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

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

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

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

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

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

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