public static final class Annotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder> implements AnnotationOrBuilder
Message describing an AnnotationProtobuf type
google.cloud.rapidmigrationassessment.v1.Annotation| Modifier and Type | Method and Description |
|---|---|
Annotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Annotation |
build() |
Annotation |
buildPartial() |
Annotation.Builder |
clear() |
Annotation.Builder |
clearCreateTime()
Output only.
|
Annotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Annotation.Builder |
clearLabels() |
Annotation.Builder |
clearName()
name of resource.
|
Annotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Annotation.Builder |
clearType()
Type of an annotation.
|
Annotation.Builder |
clearUpdateTime()
Output only.
|
Annotation.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.
|
Annotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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()
name of resource.
|
com.google.protobuf.ByteString |
getNameBytes()
name of resource.
|
Annotation.Type |
getType()
Type of an annotation.
|
int |
getTypeValue()
Type of an annotation.
|
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() |
Annotation.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Annotation.Builder |
mergeFrom(Annotation other) |
Annotation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Annotation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Annotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Annotation.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Annotation.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs.
|
Annotation.Builder |
putLabels(String key,
String value)
Labels as key value pairs.
|
Annotation.Builder |
removeLabels(String key)
Labels as key value pairs.
|
Annotation.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Annotation.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Annotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Annotation.Builder |
setName(String value)
name of resource.
|
Annotation.Builder |
setNameBytes(com.google.protobuf.ByteString value)
name of resource.
|
Annotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Annotation.Builder |
setType(Annotation.Type value)
Type of an annotation.
|
Annotation.Builder |
setTypeValue(int value)
Type of an annotation.
|
Annotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Annotation.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Annotation.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<Annotation.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.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<Annotation.Builder>public Annotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Annotation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Annotation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Annotation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.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<Annotation.Builder>public Annotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.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<Annotation.Builder>public Annotation.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<Annotation.Builder>public Annotation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Annotation.Builder>public Annotation.Builder mergeFrom(Annotation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.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<Annotation.Builder>IOExceptionpublic String getName()
name of resource.
string name = 1;getName in interface AnnotationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
name of resource.
string name = 1;getNameBytes in interface AnnotationOrBuilderpublic Annotation.Builder setName(String value)
name of resource.
string name = 1;value - The name to set.public Annotation.Builder clearName()
name of resource.
string name = 1;public Annotation.Builder setNameBytes(com.google.protobuf.ByteString value)
name of resource.
string name = 1;value - The bytes for name to set.public boolean hasCreateTime()
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface AnnotationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface AnnotationOrBuilderpublic Annotation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder clearCreateTime()
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface AnnotationOrBuilderpublic boolean hasUpdateTime()
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface AnnotationOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface AnnotationOrBuilderpublic Annotation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder clearUpdateTime()
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface AnnotationOrBuilderpublic int getLabelsCount()
AnnotationOrBuilderLabels as key value pairs.
map<string, string> labels = 4;getLabelsCount in interface AnnotationOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;containsLabels in interface AnnotationOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AnnotationOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;getLabelsMap in interface AnnotationOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;getLabelsOrDefault in interface AnnotationOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;getLabelsOrThrow in interface AnnotationOrBuilderpublic Annotation.Builder clearLabels()
public Annotation.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public Annotation.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 4;public Annotation.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 4;public int getTypeValue()
Type of an annotation.
.google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;getTypeValue in interface AnnotationOrBuilderpublic Annotation.Builder setTypeValue(int value)
Type of an annotation.
.google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;value - The enum numeric value on the wire for type to set.public Annotation.Type getType()
Type of an annotation.
.google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;getType in interface AnnotationOrBuilderpublic Annotation.Builder setType(Annotation.Type value)
Type of an annotation.
.google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;value - The type to set.public Annotation.Builder clearType()
Type of an annotation.
.google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;public final Annotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public final Annotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>Copyright © 2023 Google LLC. All rights reserved.