public static final class Part.MediaResolution extends GeneratedMessage implements Part.MediaResolutionOrBuilderper part media resolution. Media resolution for the input media.
Protobuf type google.cloud.aiplatform.v1.Part.MediaResolution
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Part.MediaResolutionImplements
Part.MediaResolutionOrBuilderStatic Fields
LEVEL_FIELD_NUMBER
public static final int LEVEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Part.MediaResolution getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Part.MediaResolution.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.Builder |
|
newBuilder(Part.MediaResolution prototype)
public static Part.MediaResolution.Builder newBuilder(Part.MediaResolution prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Part.MediaResolution |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.Builder |
|
parseDelimitedFrom(InputStream input)
public static Part.MediaResolution parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Part.MediaResolution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Part.MediaResolution parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Part.MediaResolution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Part.MediaResolution parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Part.MediaResolution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Part.MediaResolution parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Part.MediaResolution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Part.MediaResolution parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Part.MediaResolution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Part.MediaResolution parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Part.MediaResolution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Part.MediaResolution> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MediaResolution> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Part.MediaResolution getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution |
|
getLevel()
public Part.MediaResolution.Level getLevel()The tokenization quality used for given media.
.google.cloud.aiplatform.v1.Part.MediaResolution.Level level = 1;
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.Level |
The level. |
getLevelValue()
public int getLevelValue()The tokenization quality used for given media.
.google.cloud.aiplatform.v1.Part.MediaResolution.Level level = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for level. |
getParserForType()
public Parser<Part.MediaResolution> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<MediaResolution> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getValueCase()
public Part.MediaResolution.ValueCase getValueCase()| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.ValueCase |
|
hasLevel()
public boolean hasLevel()The tokenization quality used for given media.
.google.cloud.aiplatform.v1.Part.MediaResolution.Level level = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the level field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Part.MediaResolution.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Part.MediaResolution.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.Builder |
|
toBuilder()
public Part.MediaResolution.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Part.MediaResolution.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|