Package com.google.cloud.gkehub.v1beta
Interface FeatureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Feature,Feature.Builder
@Generated
public interface FeatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels for this Feature.booleanOptional.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.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.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.getSpec()Optional.Optional.getState()Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasSpec()Optional.booleanhasState()Output only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String 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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getLabelsCount
int getLabelsCount()Labels for this Feature.
map<string, string> labels = 2; -
containsLabels
Labels for this Feature.
map<string, string> labels = 2; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels for this Feature.
map<string, string> labels = 2; -
getLabelsOrDefault
Labels for this Feature.
map<string, string> labels = 2; -
getLabelsOrThrow
Labels for this Feature.
map<string, string> labels = 2; -
hasResourceState
boolean hasResourceState()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the resourceState field is set.
-
getResourceState
FeatureResourceState getResourceState()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The resourceState.
-
getResourceStateOrBuilder
FeatureResourceStateOrBuilder getResourceStateOrBuilder()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1beta.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasSpec
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];- Returns:
- Whether the spec field is set.
-
getSpec
CommonFeatureSpec 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];- Returns:
- The spec.
-
getSpecOrBuilder
CommonFeatureSpecOrBuilder 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]; -
getMembershipSpecsCount
int getMembershipSpecsCount()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]; -
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]; -
getMembershipSpecs
Deprecated.UsegetMembershipSpecsMap()instead. -
getMembershipSpecsMap
Map<String,MembershipFeatureSpec> 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]; -
getMembershipSpecsOrDefault
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]; -
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]; -
hasState
boolean hasState()Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the state field is set.
-
getState
CommonFeatureState getState()Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getStateOrBuilder
CommonFeatureStateOrBuilder getStateOrBuilder()Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1beta.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMembershipStatesCount
int getMembershipStatesCount()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]; -
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]; -
getMembershipStates
Deprecated.UsegetMembershipStatesMap()instead. -
getMembershipStatesMap
Map<String,MembershipFeatureState> 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]; -
getMembershipStatesOrDefault
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]; -
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]; -
hasCreateTime
boolean hasCreateTime()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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]; -
hasUpdateTime
boolean hasUpdateTime()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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]; -
hasDeleteTime
boolean hasDeleteTime()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
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];- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
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];
-