Interface FeatureOrBuilder (0.14.1)

public interface FeatureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

GCP labels for this Feature.

map<string, string> labels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. When the Feature resource was created.

.google.protobuf.Timestamp create_time = 8;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. When the Feature resource was created.

.google.protobuf.Timestamp create_time = 8;

Returns
TypeDescription
TimestampOrBuilder

getDeleteTime()

public abstract Timestamp getDeleteTime()

Output only. When the Feature resource was deleted.

.google.protobuf.Timestamp delete_time = 10;

Returns
TypeDescription
Timestamp

The deleteTime.

getDeleteTimeOrBuilder()

public abstract TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. When the Feature resource was deleted.

.google.protobuf.Timestamp delete_time = 10;

Returns
TypeDescription
TimestampOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

GCP labels for this Feature.

map<string, string> labels = 2;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

GCP labels for this Feature.

map<string, string> labels = 2;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

GCP labels for this Feature.

map<string, string> labels = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMembershipStates()

public abstract Map<String,MembershipFeatureState> getMembershipStates()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueMembershipFeatureState
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FeatureResourceStateOrBuilder

getScopeStates()

public abstract Map<String,ScopeFeatureState> getScopeStates()

Use #getScopeStatesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueScopeFeatureState
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ScopeFeatureState

getState()

public abstract CommonFeatureState getState()

Output only. The Hub-wide Feature state.

.google.events.cloud.gkehub.v1.CommonFeatureState state = 6;

Returns
TypeDescription
CommonFeatureState

The state.

getStateOrBuilder()

public abstract CommonFeatureStateOrBuilder getStateOrBuilder()

Output only. The Hub-wide Feature state.

.google.events.cloud.gkehub.v1.CommonFeatureState state = 6;

Returns
TypeDescription
CommonFeatureStateOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. When the Feature resource was last updated.

.google.protobuf.Timestamp update_time = 9;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. When the Feature resource was last updated.

.google.protobuf.Timestamp update_time = 9;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. When the Feature resource was created.

.google.protobuf.Timestamp create_time = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.