Package com.google.cloud.gkehub.v1
Class Feature
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkehub.v1.Feature
-
- All Implemented Interfaces:
FeatureOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Feature extends com.google.protobuf.GeneratedMessageV3 implements FeatureOrBuilder
Feature represents the settings and status of any Hub Feature.
Protobuf typegoogle.cloud.gkehub.v1.Feature
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Feature.Builder
Feature represents the settings and status of any Hub Feature.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_TIME_FIELD_NUMBER
static int
DELETE_TIME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MEMBERSHIP_SPECS_FIELD_NUMBER
static int
MEMBERSHIP_STATES_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
RESOURCE_STATE_FIELD_NUMBER
static int
SPEC_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
GCP labels for this Feature.boolean
containsMembershipSpecs(String key)
Optional.boolean
containsMembershipStates(String key)
Output only.boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Feature
getDefaultInstance()
Feature
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
GCP labels for this Feature.Map<String,String>
getLabelsMap()
GCP labels for this Feature.String
getLabelsOrDefault(String key, String defaultValue)
GCP labels for this Feature.String
getLabelsOrThrow(String key)
GCP labels for this Feature.Map<String,MembershipFeatureSpec>
getMembershipSpecs()
Deprecated.int
getMembershipSpecsCount()
Optional.Map<String,MembershipFeatureSpec>
getMembershipSpecsMap()
Optional.MembershipFeatureSpec
getMembershipSpecsOrDefault(String key, MembershipFeatureSpec defaultValue)
Optional.MembershipFeatureSpec
getMembershipSpecsOrThrow(String key)
Optional.Map<String,MembershipFeatureState>
getMembershipStates()
Deprecated.int
getMembershipStatesCount()
Output only.Map<String,MembershipFeatureState>
getMembershipStatesMap()
Output only.MembershipFeatureState
getMembershipStatesOrDefault(String key, MembershipFeatureState defaultValue)
Output only.MembershipFeatureState
getMembershipStatesOrThrow(String key)
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Feature>
getParserForType()
FeatureResourceState
getResourceState()
Output only.FeatureResourceStateOrBuilder
getResourceStateOrBuilder()
Output only.int
getSerializedSize()
CommonFeatureSpec
getSpec()
Optional.CommonFeatureSpecOrBuilder
getSpecOrBuilder()
Optional.CommonFeatureState
getState()
Output only.CommonFeatureStateOrBuilder
getStateOrBuilder()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.int
hashCode()
boolean
hasResourceState()
Output only.boolean
hasSpec()
Optional.boolean
hasState()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Feature.Builder
newBuilder()
static Feature.Builder
newBuilder(Feature prototype)
Feature.Builder
newBuilderForType()
protected Feature.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Feature
parseDelimitedFrom(InputStream input)
static Feature
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feature
parseFrom(byte[] data)
static Feature
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feature
parseFrom(com.google.protobuf.ByteString data)
static Feature
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feature
parseFrom(com.google.protobuf.CodedInputStream input)
static Feature
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feature
parseFrom(InputStream input)
static Feature
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Feature
parseFrom(ByteBuffer data)
static Feature
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Feature>
parser()
Feature.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_STATE_FIELD_NUMBER
public static final int RESOURCE_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPEC_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMBERSHIP_SPECS_FIELD_NUMBER
public static final int MEMBERSHIP_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMBERSHIP_STATES_FIELD_NUMBER
public static final int MEMBERSHIP_STATES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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];
- Specified by:
getName
in interfaceFeatureOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceFeatureOrBuilder
- Returns:
- The bytes for name.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:FeatureOrBuilder
GCP labels for this Feature.
map<string, string> labels = 2;
- Specified by:
getLabelsCount
in interfaceFeatureOrBuilder
-
containsLabels
public boolean containsLabels(String key)
GCP labels for this Feature.
map<string, string> labels = 2;
- Specified by:
containsLabels
in interfaceFeatureOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceFeatureOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
GCP labels for this Feature.
map<string, string> labels = 2;
- Specified by:
getLabelsMap
in interfaceFeatureOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
GCP labels for this Feature.
map<string, string> labels = 2;
- Specified by:
getLabelsOrDefault
in interfaceFeatureOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
GCP labels for this Feature.
map<string, string> labels = 2;
- Specified by:
getLabelsOrThrow
in interfaceFeatureOrBuilder
-
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];
- Specified by:
hasResourceState
in interfaceFeatureOrBuilder
- Returns:
- Whether the resourceState field is set.
-
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];
- Specified by:
getResourceState
in interfaceFeatureOrBuilder
- Returns:
- The resourceState.
-
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];
- Specified by:
getResourceStateOrBuilder
in interfaceFeatureOrBuilder
-
hasSpec
public boolean hasSpec()
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
.google.cloud.gkehub.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSpec
in interfaceFeatureOrBuilder
- Returns:
- Whether the spec field is set.
-
getSpec
public 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.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSpec
in interfaceFeatureOrBuilder
- Returns:
- The spec.
-
getSpecOrBuilder
public 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.v1.CommonFeatureSpec spec = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSpecOrBuilder
in interfaceFeatureOrBuilder
-
getMembershipSpecsCount
public int getMembershipSpecsCount()
Description copied from interface:FeatureOrBuilder
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];
- Specified by:
getMembershipSpecsCount
in interfaceFeatureOrBuilder
-
containsMembershipSpecs
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];
- Specified by:
containsMembershipSpecs
in interfaceFeatureOrBuilder
-
getMembershipSpecs
@Deprecated public Map<String,MembershipFeatureSpec> getMembershipSpecs()
Deprecated.UsegetMembershipSpecsMap()
instead.- Specified by:
getMembershipSpecs
in interfaceFeatureOrBuilder
-
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];
- Specified by:
getMembershipSpecsMap
in interfaceFeatureOrBuilder
-
getMembershipSpecsOrDefault
public MembershipFeatureSpec getMembershipSpecsOrDefault(String key, MembershipFeatureSpec defaultValue)
Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.
map<string, .google.cloud.gkehub.v1.MembershipFeatureSpec> membership_specs = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMembershipSpecsOrDefault
in interfaceFeatureOrBuilder
-
getMembershipSpecsOrThrow
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];
- Specified by:
getMembershipSpecsOrThrow
in interfaceFeatureOrBuilder
-
hasState
public boolean hasState()
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasState
in interfaceFeatureOrBuilder
- Returns:
- Whether the state field is set.
-
getState
public CommonFeatureState getState()
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceFeatureOrBuilder
- Returns:
- The state.
-
getStateOrBuilder
public CommonFeatureStateOrBuilder getStateOrBuilder()
Output only. The Hub-wide Feature state.
.google.cloud.gkehub.v1.CommonFeatureState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateOrBuilder
in interfaceFeatureOrBuilder
-
getMembershipStatesCount
public int getMembershipStatesCount()
Description copied from interface:FeatureOrBuilder
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];
- Specified by:
getMembershipStatesCount
in interfaceFeatureOrBuilder
-
containsMembershipStates
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];
- Specified by:
containsMembershipStates
in interfaceFeatureOrBuilder
-
getMembershipStates
@Deprecated public Map<String,MembershipFeatureState> getMembershipStates()
Deprecated.UsegetMembershipStatesMap()
instead.- Specified by:
getMembershipStates
in interfaceFeatureOrBuilder
-
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];
- Specified by:
getMembershipStatesMap
in interfaceFeatureOrBuilder
-
getMembershipStatesOrDefault
public MembershipFeatureState getMembershipStatesOrDefault(String key, MembershipFeatureState defaultValue)
Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: projects/{p}/locations/{l}/memberships/{m} Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.
map<string, .google.cloud.gkehub.v1.MembershipFeatureState> membership_states = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMembershipStatesOrDefault
in interfaceFeatureOrBuilder
-
getMembershipStatesOrThrow
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];
- Specified by:
getMembershipStatesOrThrow
in interfaceFeatureOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceFeatureOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceFeatureOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. When the Feature resource was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceFeatureOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceFeatureOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceFeatureOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. When the Feature resource was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceFeatureOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceFeatureOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceFeatureOrBuilder
- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. When the Feature resource was deleted.
.google.protobuf.Timestamp delete_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceFeatureOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Feature parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Feature parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Feature parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Feature parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Feature parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Feature parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Feature.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Feature.Builder newBuilder()
-
newBuilder
public static Feature.Builder newBuilder(Feature prototype)
-
toBuilder
public Feature.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Feature.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Feature getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Feature> parser()
-
getParserForType
public com.google.protobuf.Parser<Feature> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Feature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-