public static final class Group.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder> implements GroupOrBuilder
A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group. An asset can belong to multiple groups.Protobuf type
google.cloud.migrationcenter.v1.Group| Modifier and Type | Method and Description |
|---|---|
Group.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Group |
build() |
Group |
buildPartial() |
Group.Builder |
clear() |
Group.Builder |
clearCreateTime()
Output only.
|
Group.Builder |
clearDescription()
The description of the resource.
|
Group.Builder |
clearDisplayName()
User-friendly display name.
|
Group.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Group.Builder |
clearLabels() |
Group.Builder |
clearName()
Output only.
|
Group.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Group.Builder |
clearUpdateTime()
Output only.
|
Group.Builder |
clone() |
boolean |
containsLabels(String key)
Labels as key value pairs.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Group |
getDefaultInstanceForType() |
String |
getDescription()
The description of the resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
User-friendly display name.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User-friendly display name.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs.
|
Map<String,String> |
getLabelsMap()
Labels as key value pairs.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs.
|
String |
getLabelsOrThrow(String key)
Labels as key value pairs.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Group.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Group.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Group.Builder |
mergeFrom(Group other) |
Group.Builder |
mergeFrom(com.google.protobuf.Message other) |
Group.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Group.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Group.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs.
|
Group.Builder |
putLabels(String key,
String value)
Labels as key value pairs.
|
Group.Builder |
removeLabels(String key)
Labels as key value pairs.
|
Group.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Group.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Group.Builder |
setDescription(String value)
The description of the resource.
|
Group.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the resource.
|
Group.Builder |
setDisplayName(String value)
User-friendly display name.
|
Group.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name.
|
Group.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Group.Builder |
setName(String value)
Output only.
|
Group.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Group.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Group.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Group.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Group.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Group build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Group buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Group.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Group.Builder>public Group.Builder mergeFrom(Group other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public Group.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Group.Builder>IOExceptionpublic String getName()
Output only. The name of the group.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface GroupOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the group.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface GroupOrBuilderpublic Group.Builder setName(String value)
Output only. The name of the group.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Group.Builder clearName()
Output only. The name of the group.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Group.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the group.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface GroupOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface GroupOrBuilderpublic Group.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Group.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Group.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Group.Builder clearCreateTime()
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the group was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface GroupOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface GroupOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface GroupOrBuilderpublic Group.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Group.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Group.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Group.Builder clearUpdateTime()
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the group was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface GroupOrBuilderpublic int getLabelsCount()
GroupOrBuilderLabels as key value pairs.
map<string, string> labels = 4;getLabelsCount in interface GroupOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;containsLabels in interface GroupOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface GroupOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;getLabelsMap in interface GroupOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;getLabelsOrDefault in interface GroupOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;getLabelsOrThrow in interface GroupOrBuilderpublic Group.Builder clearLabels()
public Group.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public Group.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 4;public Group.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 4;public String getDisplayName()
User-friendly display name.
string display_name = 5;getDisplayName in interface GroupOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User-friendly display name.
string display_name = 5;getDisplayNameBytes in interface GroupOrBuilderpublic Group.Builder setDisplayName(String value)
User-friendly display name.
string display_name = 5;value - The displayName to set.public Group.Builder clearDisplayName()
User-friendly display name.
string display_name = 5;public Group.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User-friendly display name.
string display_name = 5;value - The bytes for displayName to set.public String getDescription()
The description of the resource.
string description = 6;getDescription in interface GroupOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the resource.
string description = 6;getDescriptionBytes in interface GroupOrBuilderpublic Group.Builder setDescription(String value)
The description of the resource.
string description = 6;value - The description to set.public Group.Builder clearDescription()
The description of the resource.
string description = 6;public Group.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the resource.
string description = 6;value - The bytes for description to set.public final Group.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>public final Group.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Group.Builder>Copyright © 2024 Google LLC. All rights reserved.