public static final class CreateAnnotationRequest.Builder extends GeneratedMessageV3.Builder<CreateAnnotationRequest.Builder> implements CreateAnnotationRequestOrBuilder
Message for creating an AnnotationS.
Protobuf type google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateAnnotationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateAnnotationRequest build()
buildPartial()
public CreateAnnotationRequest buildPartial()
clear()
public CreateAnnotationRequest.Builder clear()
Overrides
clearAnnotation()
public CreateAnnotationRequest.Builder clearAnnotation()
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateAnnotationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAnnotationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateAnnotationRequest.Builder clearParent()
Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearRequestId()
public CreateAnnotationRequest.Builder clearRequestId()
Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
clone()
public CreateAnnotationRequest.Builder clone()
Overrides
getAnnotation()
public Annotation getAnnotation()
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
getAnnotationBuilder()
public Annotation.Builder getAnnotationBuilder()
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
getAnnotationOrBuilder()
public AnnotationOrBuilder getAnnotationOrBuilder()
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateAnnotationRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getRequestId()
public String getRequestId()
Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for requestId.
|
hasAnnotation()
public boolean hasAnnotation()
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the annotation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnnotation(Annotation value)
public CreateAnnotationRequest.Builder mergeAnnotation(Annotation value)
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateAnnotationRequest other)
public CreateAnnotationRequest.Builder mergeFrom(CreateAnnotationRequest other)
public CreateAnnotationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateAnnotationRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAnnotationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAnnotation(Annotation value)
public CreateAnnotationRequest.Builder setAnnotation(Annotation value)
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
setAnnotation(Annotation.Builder builderForValue)
public CreateAnnotationRequest.Builder setAnnotation(Annotation.Builder builderForValue)
Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAnnotationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateAnnotationRequest.Builder setParent(String value)
Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateAnnotationRequest.Builder setParentBytes(ByteString value)
Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAnnotationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequestId(String value)
public CreateAnnotationRequest.Builder setRequestId(String value)
Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The requestId to set.
|
setRequestIdBytes(ByteString value)
public CreateAnnotationRequest.Builder setRequestIdBytes(ByteString value)
Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for requestId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAnnotationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides