public final class UrlMetadata extends GeneratedMessage implements UrlMetadataOrBuilderContext of the a single url retrieval.
Protobuf type google.cloud.vertexai.v1.UrlMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UrlMetadataImplements
UrlMetadataOrBuilderStatic Fields
RETRIEVED_URL_FIELD_NUMBER
public static final int RETRIEVED_URL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
URL_RETRIEVAL_STATUS_FIELD_NUMBER
public static final int URL_RETRIEVAL_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UrlMetadata getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UrlMetadata.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UrlMetadata.Builder |
|
newBuilder(UrlMetadata prototype)
public static UrlMetadata.Builder newBuilder(UrlMetadata prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UrlMetadata |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata.Builder |
|
parseDelimitedFrom(InputStream input)
public static UrlMetadata parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UrlMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UrlMetadata parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UrlMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UrlMetadata parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UrlMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UrlMetadata parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UrlMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UrlMetadata parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UrlMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UrlMetadata parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UrlMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UrlMetadata> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UrlMetadata> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public UrlMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UrlMetadata |
|
getParserForType()
public Parser<UrlMetadata> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UrlMetadata> |
|
getRetrievedUrl()
public String getRetrievedUrl()Retrieved url by the tool.
string retrieved_url = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The retrievedUrl. |
getRetrievedUrlBytes()
public ByteString getRetrievedUrlBytes()Retrieved url by the tool.
string retrieved_url = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for retrievedUrl. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUrlRetrievalStatus()
public UrlMetadata.UrlRetrievalStatus getUrlRetrievalStatus()Status of the url retrieval.
.google.cloud.vertexai.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
| Returns | |
|---|---|
| Type | Description |
UrlMetadata.UrlRetrievalStatus |
The urlRetrievalStatus. |
getUrlRetrievalStatusValue()
public int getUrlRetrievalStatusValue()Status of the url retrieval.
.google.cloud.vertexai.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for urlRetrievalStatus. |
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 UrlMetadata.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UrlMetadata.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UrlMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UrlMetadata.Builder |
|
toBuilder()
public UrlMetadata.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UrlMetadata.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|