public static final class CreateAnnotationRequest.Builder extends GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder> implements CreateAnnotationRequestOrBuilder
Request for the CreateAnnotation method.Protobuf type
google.cloud.irm.v1alpha2.CreateAnnotationRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic CreateAnnotationRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic CreateAnnotationRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic CreateAnnotationRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder mergeFrom(CreateAnnotationRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public CreateAnnotationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<CreateAnnotationRequest.Builder>IOExceptionpublic String getParent()
Required. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateAnnotationRequestOrBuilderpublic ByteString getParentBytes()
Required. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateAnnotationRequestOrBuilderpublic CreateAnnotationRequest.Builder setParent(String value)
Required. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public CreateAnnotationRequest.Builder clearParent()
Required. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateAnnotationRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasAnnotation()
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
hasAnnotation in interface CreateAnnotationRequestOrBuilderpublic Annotation getAnnotation()
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
getAnnotation in interface CreateAnnotationRequestOrBuilderpublic CreateAnnotationRequest.Builder setAnnotation(Annotation value)
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAnnotationRequest.Builder setAnnotation(Annotation.Builder builderForValue)
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAnnotationRequest.Builder mergeAnnotation(Annotation value)
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateAnnotationRequest.Builder clearAnnotation()
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
public Annotation.Builder getAnnotationBuilder()
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
public AnnotationOrBuilder getAnnotationOrBuilder()
Required. Only annotation.content is an input argument.
.google.cloud.irm.v1alpha2.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
getAnnotationOrBuilder in interface CreateAnnotationRequestOrBuilderpublic final CreateAnnotationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>public final CreateAnnotationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.