- 1.85.0 (latest)
- 1.83.0
- 1.82.0
- 1.81.0
- 1.80.0
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class Feature.Builder extends GeneratedMessage.Builder<Feature.Builder> implements FeatureOrBuilderFeature represents the settings and status of any Fleet Feature.
Protobuf type google.cloud.gkehub.v1.Feature
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Feature.BuilderImplements
FeatureOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllUnreachable(Iterable<String> values)
public Feature.Builder addAllUnreachable(Iterable<String> values)Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
addUnreachable(String value)
public Feature.Builder addUnreachable(String value)Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public Feature.Builder addUnreachableBytes(ByteString value)Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
build()
public Feature build()| Returns | |
|---|---|
| Type | Description |
Feature |
|
buildPartial()
public Feature buildPartial()| Returns | |
|---|---|
| Type | Description |
Feature |
|
clear()
public Feature.Builder clear()| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearCreateTime()
public Feature.Builder clearCreateTime()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearDeleteTime()
public Feature.Builder clearDeleteTime()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearLabels()
public Feature.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearMembershipSpecs()
public Feature.Builder clearMembershipSpecs()| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearMembershipStates()
public Feature.Builder clearMembershipStates()| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearName()
public Feature.Builder 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 | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
clearResourceState()
public Feature.Builder clearResourceState()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearScopeSpecs()
public Feature.Builder clearScopeSpecs()| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearScopeStates()
public Feature.Builder clearScopeStates()| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearSpec()
public Feature.Builder clearSpec()Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearState()
public Feature.Builder clearState()Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
clearUnreachable()
public Feature.Builder clearUnreachable()Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
clearUpdateTime()
public Feature.Builder clearUpdateTime()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Labels for this Feature.
map<string, string> labels = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsMembershipSpecs(String key)
public boolean containsMembershipSpecs(String key)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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsMembershipStates(String key)
public boolean containsMembershipStates(String key)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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsScopeSpecs(String key)
public boolean containsScopeSpecs(String key)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsScopeStates(String key)
public boolean containsScopeStates(String key)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCreateTime()
public Timestamp getCreateTime()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Feature getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Feature |
|
getDeleteTime()
public Timestamp getDeleteTime()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Labels for this Feature.
map<string, string> labels = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Labels for this Feature.
map<string, string> labels = 2;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Labels for this Feature.
map<string, string> labels = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Labels for this Feature.
map<string, string> labels = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMembershipSpecs() (deprecated)
public Map<String,MembershipFeatureSpec> getMembershipSpecs()Use #getMembershipSpecsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,MembershipFeatureSpec> |
|
getMembershipSpecsCount()
public 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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMembershipSpecsMap()
public 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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,MembershipFeatureSpec> |
|
getMembershipSpecsOrDefault(String key, MembershipFeatureSpec defaultValue)
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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
MembershipFeatureSpec |
| Returns | |
|---|---|
| Type | Description |
MembershipFeatureSpec |
|
getMembershipSpecsOrThrow(String key)
public MembershipFeatureSpec getMembershipSpecsOrThrow(String key)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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
MembershipFeatureSpec |
|
getMembershipStates() (deprecated)
public Map<String,MembershipFeatureState> getMembershipStates()Use #getMembershipStatesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,MembershipFeatureState> |
|
getMembershipStatesCount()
public 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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMembershipStatesMap()
public 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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,MembershipFeatureState> |
|
getMembershipStatesOrDefault(String key, MembershipFeatureState defaultValue)
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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
MembershipFeatureState |
| Returns | |
|---|---|
| Type | Description |
MembershipFeatureState |
|
getMembershipStatesOrThrow(String key)
public MembershipFeatureState getMembershipStatesOrThrow(String key)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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
MembershipFeatureState |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableMembershipSpecs() (deprecated)
public Map<String,MembershipFeatureSpec> getMutableMembershipSpecs()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,MembershipFeatureSpec> |
|
getMutableMembershipStates() (deprecated)
public Map<String,MembershipFeatureState> getMutableMembershipStates()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,MembershipFeatureState> |
|
getMutableScopeSpecs() (deprecated)
public Map<String,ScopeFeatureSpec> getMutableScopeSpecs()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeFeatureSpec> |
|
getMutableScopeStates() (deprecated)
public Map<String,ScopeFeatureState> getMutableScopeStates()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeFeatureState> |
|
getName()
public 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 | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getResourceState()
public FeatureResourceState getResourceState()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FeatureResourceState |
The resourceState. |
getResourceStateBuilder()
public FeatureResourceState.Builder getResourceStateBuilder()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FeatureResourceState.Builder |
|
getResourceStateOrBuilder()
public FeatureResourceStateOrBuilder getResourceStateOrBuilder()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FeatureResourceStateOrBuilder |
|
getScopeSpecs() (deprecated)
public Map<String,ScopeFeatureSpec> getScopeSpecs()Use #getScopeSpecsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeFeatureSpec> |
|
getScopeSpecsCount()
public int getScopeSpecsCount()Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getScopeSpecsMap()
public Map<String,ScopeFeatureSpec> getScopeSpecsMap()Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeFeatureSpec> |
|
getScopeSpecsOrDefault(String key, ScopeFeatureSpec defaultValue)
public ScopeFeatureSpec getScopeSpecsOrDefault(String key, ScopeFeatureSpec defaultValue)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ScopeFeatureSpec |
| Returns | |
|---|---|
| Type | Description |
ScopeFeatureSpec |
|
getScopeSpecsOrThrow(String key)
public ScopeFeatureSpec getScopeSpecsOrThrow(String key)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ScopeFeatureSpec |
|
getScopeStates() (deprecated)
public Map<String,ScopeFeatureState> getScopeStates()Use #getScopeStatesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeFeatureState> |
|
getScopeStatesCount()
public int getScopeStatesCount()Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getScopeStatesMap()
public Map<String,ScopeFeatureState> getScopeStatesMap()Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,ScopeFeatureState> |
|
getScopeStatesOrDefault(String key, ScopeFeatureState defaultValue)
public ScopeFeatureState getScopeStatesOrDefault(String key, ScopeFeatureState defaultValue)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ScopeFeatureState |
| Returns | |
|---|---|
| Type | Description |
ScopeFeatureState |
|
getScopeStatesOrThrow(String key)
public ScopeFeatureState getScopeStatesOrThrow(String key)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ScopeFeatureState |
|
getSpec()
public CommonFeatureSpec getSpec()Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CommonFeatureSpec |
The spec. |
getSpecBuilder()
public CommonFeatureSpec.Builder getSpecBuilder()Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CommonFeatureSpec.Builder |
|
getSpecOrBuilder()
public CommonFeatureSpecOrBuilder getSpecOrBuilder()Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CommonFeatureSpecOrBuilder |
|
getState()
public CommonFeatureState getState()Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CommonFeatureState |
The state. |
getStateBuilder()
public CommonFeatureState.Builder getStateBuilder()Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CommonFeatureState.Builder |
|
getStateOrBuilder()
public CommonFeatureStateOrBuilder getStateOrBuilder()Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CommonFeatureStateOrBuilder |
|
getUnreachable(int index)
public String getUnreachable(int index)Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deleteTime field is set. |
hasResourceState()
public boolean hasResourceState()Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resourceState field is set. |
hasSpec()
public boolean hasSpec()Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the spec field is set. |
hasState()
public boolean hasState()Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the state field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Feature.Builder mergeCreateTime(Timestamp value)Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeDeleteTime(Timestamp value)
public Feature.Builder mergeDeleteTime(Timestamp value)Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeFrom(Feature other)
public Feature.Builder mergeFrom(Feature other)| Parameter | |
|---|---|
| Name | Description |
other |
Feature |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Feature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Feature.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeResourceState(FeatureResourceState value)
public Feature.Builder mergeResourceState(FeatureResourceState value)Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FeatureResourceState |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeSpec(CommonFeatureSpec value)
public Feature.Builder mergeSpec(CommonFeatureSpec value)Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CommonFeatureSpec |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeState(CommonFeatureState value)
public Feature.Builder mergeState(CommonFeatureState value)Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CommonFeatureState |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
mergeUpdateTime(Timestamp value)
public Feature.Builder mergeUpdateTime(Timestamp value)Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putAllLabels(Map<String,String> values)
public Feature.Builder putAllLabels(Map<String,String> values)Labels for this Feature.
map<string, string> labels = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putAllMembershipSpecs(Map<String,MembershipFeatureSpec> values)
public Feature.Builder putAllMembershipSpecs(Map<String,MembershipFeatureSpec> values)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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,MembershipFeatureSpec> |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putAllMembershipStates(Map<String,MembershipFeatureState> values)
public Feature.Builder putAllMembershipStates(Map<String,MembershipFeatureState> values)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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,MembershipFeatureState> |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putAllScopeSpecs(Map<String,ScopeFeatureSpec> values)
public Feature.Builder putAllScopeSpecs(Map<String,ScopeFeatureSpec> values)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,ScopeFeatureSpec> |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putAllScopeStates(Map<String,ScopeFeatureState> values)
public Feature.Builder putAllScopeStates(Map<String,ScopeFeatureState> values)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,ScopeFeatureState> |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putLabels(String key, String value)
public Feature.Builder putLabels(String key, String value)Labels for this Feature.
map<string, string> labels = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putMembershipSpecs(String key, MembershipFeatureSpec value)
public Feature.Builder putMembershipSpecs(String key, MembershipFeatureSpec value)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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
MembershipFeatureSpec |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putMembershipSpecsBuilderIfAbsent(String key)
public MembershipFeatureSpec.Builder putMembershipSpecsBuilderIfAbsent(String key)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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
MembershipFeatureSpec.Builder |
|
putMembershipStates(String key, MembershipFeatureState value)
public Feature.Builder putMembershipStates(String key, MembershipFeatureState value)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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
MembershipFeatureState |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putMembershipStatesBuilderIfAbsent(String key)
public MembershipFeatureState.Builder putMembershipStatesBuilderIfAbsent(String key)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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
MembershipFeatureState.Builder |
|
putScopeSpecs(String key, ScopeFeatureSpec value)
public Feature.Builder putScopeSpecs(String key, ScopeFeatureSpec value)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
ScopeFeatureSpec |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putScopeSpecsBuilderIfAbsent(String key)
public ScopeFeatureSpec.Builder putScopeSpecsBuilderIfAbsent(String key)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ScopeFeatureSpec.Builder |
|
putScopeStates(String key, ScopeFeatureState value)
public Feature.Builder putScopeStates(String key, ScopeFeatureState value)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
ScopeFeatureState |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
putScopeStatesBuilderIfAbsent(String key)
public ScopeFeatureState.Builder putScopeStatesBuilderIfAbsent(String key)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ScopeFeatureState.Builder |
|
removeLabels(String key)
public Feature.Builder removeLabels(String key)Labels for this Feature.
map<string, string> labels = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
removeMembershipSpecs(String key)
public Feature.Builder removeMembershipSpecs(String key)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.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
removeMembershipStates(String key)
public Feature.Builder removeMembershipStates(String key)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.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
removeScopeSpecs(String key)
public Feature.Builder removeScopeSpecs(String key)Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.
The keys indicate which Scope the configuration is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {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 Scope 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.v1.ScopeFeatureSpec> scope_specs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
removeScopeStates(String key)
public Feature.Builder removeScopeStates(String key)Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.
The keys indicate which Scope the state is for, in the form:
projects/{p}/locations/global/scopes/{s}
Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
map<string, .google.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setCreateTime(Timestamp value)
public Feature.Builder setCreateTime(Timestamp value)Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Feature.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setDeleteTime(Timestamp value)
public Feature.Builder setDeleteTime(Timestamp value)Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setDeleteTime(Timestamp.Builder builderForValue)
public Feature.Builder setDeleteTime(Timestamp.Builder builderForValue)Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setName(String value)
public Feature.Builder setName(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Feature.Builder setNameBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
setResourceState(FeatureResourceState value)
public Feature.Builder setResourceState(FeatureResourceState value)Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FeatureResourceState |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setResourceState(FeatureResourceState.Builder builderForValue)
public Feature.Builder setResourceState(FeatureResourceState.Builder builderForValue)Output only. State of the Feature resource itself.
.google.cloud.gkehub.v1.FeatureResourceState resource_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FeatureResourceState.Builder |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setSpec(CommonFeatureSpec value)
public Feature.Builder setSpec(CommonFeatureSpec value)Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CommonFeatureSpec |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setSpec(CommonFeatureSpec.Builder builderForValue)
public Feature.Builder setSpec(CommonFeatureSpec.Builder builderForValue)Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommonFeatureSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setState(CommonFeatureState value)
public Feature.Builder setState(CommonFeatureState value)Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CommonFeatureState |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setState(CommonFeatureState.Builder builderForValue)
public Feature.Builder setState(CommonFeatureState.Builder builderForValue)Output only. The Fleet-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommonFeatureState.Builder |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setUnreachable(int index, String value)
public Feature.Builder setUnreachable(int index, String value)Output only. List of locations that could not be reached while fetching this feature.
repeated string unreachable = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Feature.Builder setUpdateTime(Timestamp value)Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Feature.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Feature.Builder |
|