public final class GetAnnotationSpecRequest extends GeneratedMessageV3 implements GetAnnotationSpecRequestOrBuilder
Request message for
DatasetService.GetAnnotationSpec.
Protobuf type google.cloud.aiplatform.v1beta1.GetAnnotationSpecRequest
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int READ_MASK_FIELD_NUMBER
Field Value
Static Methods
public static GetAnnotationSpecRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static GetAnnotationSpecRequest.Builder newBuilder()
Returns
public static GetAnnotationSpecRequest.Builder newBuilder(GetAnnotationSpecRequest prototype)
Parameter
Returns
public static GetAnnotationSpecRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetAnnotationSpecRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static GetAnnotationSpecRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<GetAnnotationSpecRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public GetAnnotationSpecRequest getDefaultInstanceForType()
Returns
Required. The name of the AnnotationSpec resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the AnnotationSpec resource.
Format:
projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<GetAnnotationSpecRequest> getParserForType()
Returns
Overrides
public FieldMask getReadMask()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
public FieldMaskOrBuilder getReadMaskOrBuilder()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasReadMask()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
Type | Description |
boolean | Whether the readMask field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public GetAnnotationSpecRequest.Builder newBuilderForType()
Returns
protected GetAnnotationSpecRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public GetAnnotationSpecRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions