Package com.google.cloud.gkehub.v1beta
Class Feature.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
com.google.cloud.gkehub.v1beta.Feature.Builder
- All Implemented Interfaces:
FeatureOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Feature
public static final class Feature.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
implements FeatureOrBuilder
Feature represents the settings and status of any Hub Feature.Protobuf type
google.cloud.gkehub.v1beta.Feature-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Optional.Output only.Output only.booleancontainsLabels(String key) Labels for this Feature.booleanOptional.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intLabels for this Feature.Labels for this Feature.getLabelsOrDefault(String key, String defaultValue) Labels for this Feature.getLabelsOrThrow(String key) Labels for this Feature.Deprecated.intOptional.Optional.getMembershipSpecsOrDefault(String key, MembershipFeatureSpec defaultValue) Optional.Optional.Deprecated.intOutput only.Output only.getMembershipStatesOrDefault(String key, MembershipFeatureState defaultValue) Output only.Output only.Deprecated.Deprecated.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.getSpec()Optional.Optional.Optional.getState()Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasSpec()Optional.booleanhasState()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeSpec(CommonFeatureSpec value) Optional.mergeState(CommonFeatureState value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels for this Feature.Optional.Output only.Labels for this Feature.putMembershipSpecs(String key, MembershipFeatureSpec value) Optional.Optional.putMembershipStates(String key, MembershipFeatureState value) Output only.Output only.removeLabels(String key) Labels for this Feature.Optional.Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setResourceState(FeatureResourceState.Builder builderForValue) Output only.setSpec(CommonFeatureSpec value) Optional.setSpec(CommonFeatureSpec.Builder builderForValue) Optional.setState(CommonFeatureState value) Output only.setState(CommonFeatureState.Builder builderForValue) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Feature.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Feature.Builder>
-
mergeFrom
public Feature.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Feature.Builder>- Throws:
IOException
-
getName
Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceFeatureOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceFeatureOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:FeatureOrBuilderLabels for this Feature.
map<string, string> labels = 2;- Specified by:
getLabelsCountin interfaceFeatureOrBuilder
-
containsLabels
Labels for this Feature.
map<string, string> labels = 2;- Specified by:
containsLabelsin interfaceFeatureOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceFeatureOrBuilder
-
getLabelsMap
Labels for this Feature.
map<string, string> labels = 2;- Specified by:
getLabelsMapin interfaceFeatureOrBuilder
-
getLabelsOrDefault
Labels for this Feature.
map<string, string> labels = 2;- Specified by:
getLabelsOrDefaultin interfaceFeatureOrBuilder
-
getLabelsOrThrow
Labels for this Feature.
map<string, string> labels = 2;- Specified by:
getLabelsOrThrowin interfaceFeatureOrBuilder
-
clearLabels
-
removeLabels
Labels for this Feature.
map<string, string> labels = 2; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels for this Feature.
map<string, string> labels = 2; -
putAllLabels
Labels for this Feature.
map<string, string> labels = 2; -
hasResourceState
public boolean hasResourceState()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResourceStatein interfaceFeatureOrBuilder- Returns:
- Whether the resourceState field is set.
-
getResourceState
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceStatein interfaceFeatureOrBuilder- Returns:
- The resourceState.
-
setResourceState
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setResourceState
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeResourceState
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearResourceState
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceStateBuilder
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceStateOrBuilder
Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceStateOrBuilderin interfaceFeatureOrBuilder
-
hasSpec
public boolean hasSpec()Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSpecin interfaceFeatureOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpecin interfaceFeatureOrBuilder- Returns:
- The spec.
-
setSpec
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setSpec
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSpec
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearSpec
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecBuilder
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getSpecOrBuilder
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1beta.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpecOrBuilderin interfaceFeatureOrBuilder
-
getMembershipSpecsCount
public int getMembershipSpecsCount()Description copied from interface:FeatureOrBuilderOptional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMembershipSpecsCountin interfaceFeatureOrBuilder
-
containsMembershipSpecs
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsMembershipSpecsin interfaceFeatureOrBuilder
-
getMembershipSpecs
Deprecated.UsegetMembershipSpecsMap()instead.- Specified by:
getMembershipSpecsin interfaceFeatureOrBuilder
-
getMembershipSpecsMap
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMembershipSpecsMapin interfaceFeatureOrBuilder
-
getMembershipSpecsOrDefault
public MembershipFeatureSpec getMembershipSpecsOrDefault(String key, MembershipFeatureSpec defaultValue) Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMembershipSpecsOrDefaultin interfaceFeatureOrBuilder
-
getMembershipSpecsOrThrow
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMembershipSpecsOrThrowin interfaceFeatureOrBuilder
-
clearMembershipSpecs
-
removeMembershipSpecs
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableMembershipSpecs
Deprecated.Use alternate mutation accessors instead. -
putMembershipSpecs
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL]; -
putAllMembershipSpecs
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL]; -
putMembershipSpecsBuilderIfAbsent
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasState
public boolean hasState()Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatein interfaceFeatureOrBuilder- Returns:
- Whether the state field is set.
-
getState
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceFeatureOrBuilder- Returns:
- The state.
-
setState
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setState
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeState
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearState
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateBuilder
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateOrBuilder
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateOrBuilderin interfaceFeatureOrBuilder
-
getMembershipStatesCount
public int getMembershipStatesCount()Description copied from interface:FeatureOrBuilderOutput only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMembershipStatesCountin interfaceFeatureOrBuilder
-
containsMembershipStates
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsMembershipStatesin interfaceFeatureOrBuilder
-
getMembershipStates
Deprecated.UsegetMembershipStatesMap()instead.- Specified by:
getMembershipStatesin interfaceFeatureOrBuilder
-
getMembershipStatesMap
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMembershipStatesMapin interfaceFeatureOrBuilder
-
getMembershipStatesOrDefault
public MembershipFeatureState getMembershipStatesOrDefault(String key, MembershipFeatureState defaultValue) Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMembershipStatesOrDefaultin interfaceFeatureOrBuilder
-
getMembershipStatesOrThrow
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMembershipStatesOrThrowin interfaceFeatureOrBuilder
-
clearMembershipStates
-
removeMembershipStates
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMutableMembershipStates
Deprecated.Use alternate mutation accessors instead. -
putMembershipStates
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putAllMembershipStates
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putMembershipStatesBuilderIfAbsent
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.map<string, .google.cloud.gkehub.v1beta.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCreateTime
public boolean hasCreateTime()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceFeatureOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceFeatureOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceFeatureOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceFeatureOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceFeatureOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceFeatureOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfaceFeatureOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfaceFeatureOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfaceFeatureOrBuilder
-