public interface FeatureOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
GCP labels for this Feature.
map<string, string> labels = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsMembershipStates(String key)
public abstract 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.events.cloud.gkehub.v1.MembershipFeatureState> membership_states = 7;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsScopeStates(String key)
public abstract 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.events.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDeleteTime()
public abstract Timestamp getDeleteTime()
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10;
Returns | |
---|---|
Type | Description |
Timestamp |
The deleteTime. |
getDeleteTimeOrBuilder()
public abstract TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
GCP labels for this Feature.
map<string, string> labels = 2;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
GCP labels for this Feature.
map<string, string> labels = 2;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
GCP labels for this Feature.
map<string, string> labels = 2;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
GCP labels for this Feature.
map<string, string> labels = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMembershipStates()
public abstract Map<String,MembershipFeatureState> getMembershipStates()
Use #getMembershipStatesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,MembershipFeatureState> |
getMembershipStatesCount()
public abstract 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.events.cloud.gkehub.v1.MembershipFeatureState> membership_states = 7;
Returns | |
---|---|
Type | Description |
int |
getMembershipStatesMap()
public abstract 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.events.cloud.gkehub.v1.MembershipFeatureState> membership_states = 7;
Returns | |
---|---|
Type | Description |
Map<String,MembershipFeatureState> |
getMembershipStatesOrDefault(String key, MembershipFeatureState defaultValue)
public abstract 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.events.cloud.gkehub.v1.MembershipFeatureState> membership_states = 7;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
MembershipFeatureState |
Returns | |
---|---|
Type | Description |
MembershipFeatureState |
getMembershipStatesOrThrow(String key)
public abstract 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.events.cloud.gkehub.v1.MembershipFeatureState> membership_states = 7;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
MembershipFeatureState |
getName()
public abstract String getName()
Output only. The full, unique name of this Feature resource in the format
projects/*/locations/*/features/*
.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Output only. The full, unique name of this Feature resource in the format
projects/*/locations/*/features/*
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getResourceState()
public abstract FeatureResourceState getResourceState()
Output only. State of the Feature resource itself.
.google.events.cloud.gkehub.v1.FeatureResourceState resource_state = 3;
Returns | |
---|---|
Type | Description |
FeatureResourceState |
The resourceState. |
getResourceStateOrBuilder()
public abstract FeatureResourceStateOrBuilder getResourceStateOrBuilder()
Output only. State of the Feature resource itself.
.google.events.cloud.gkehub.v1.FeatureResourceState resource_state = 3;
Returns | |
---|---|
Type | Description |
FeatureResourceStateOrBuilder |
getScopeStates()
public abstract Map<String,ScopeFeatureState> getScopeStates()
Use #getScopeStatesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,ScopeFeatureState> |
getScopeStatesCount()
public abstract 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.events.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13;
Returns | |
---|---|
Type | Description |
int |
getScopeStatesMap()
public abstract 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.events.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13;
Returns | |
---|---|
Type | Description |
Map<String,ScopeFeatureState> |
getScopeStatesOrDefault(String key, ScopeFeatureState defaultValue)
public abstract 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.events.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
ScopeFeatureState |
Returns | |
---|---|
Type | Description |
ScopeFeatureState |
getScopeStatesOrThrow(String key)
public abstract 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.events.cloud.gkehub.v1.ScopeFeatureState> scope_states = 13;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
ScopeFeatureState |
getState()
public abstract CommonFeatureState getState()
Output only. The Hub-wide Feature state.
.google.events.cloud.gkehub.v1.CommonFeatureState state = 6;
Returns | |
---|---|
Type | Description |
CommonFeatureState |
The state. |
getStateOrBuilder()
public abstract CommonFeatureStateOrBuilder getStateOrBuilder()
Output only. The Hub-wide Feature state.
.google.events.cloud.gkehub.v1.CommonFeatureState state = 6;
Returns | |
---|---|
Type | Description |
CommonFeatureStateOrBuilder |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDeleteTime()
public abstract boolean hasDeleteTime()
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the deleteTime field is set. |
hasResourceState()
public abstract boolean hasResourceState()
Output only. State of the Feature resource itself.
.google.events.cloud.gkehub.v1.FeatureResourceState resource_state = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the resourceState field is set. |
hasState()
public abstract boolean hasState()
Output only. The Hub-wide Feature state.
.google.events.cloud.gkehub.v1.CommonFeatureState state = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the state field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |