Class UrlMetadata.Builder (3.74.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class UrlMetadata . Builder extends GeneratedMessageV3 . Builder<UrlMetadata . Builder > implements UrlMetadataOrBuilder
Context of the a single url retrieval.
Protobuf type google.cloud.aiplatform.v1.UrlMetadata
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
public static final Descriptors . Descriptor getDescriptor ()
Methods
public UrlMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UrlMetadata build ()
public UrlMetadata buildPartial ()
public UrlMetadata . Builder clear ()
Overrides
public UrlMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public UrlMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public UrlMetadata . Builder clearRetrievedUrl ()
Retrieved url by the tool.
string retrieved_url = 1;
public UrlMetadata . Builder clearUrlRetrievalStatus ()
Status of the url retrieval.
.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
public UrlMetadata . Builder clone ()
Overrides
public UrlMetadata getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public String getRetrievedUrl ()
Retrieved url by the tool.
string retrieved_url = 1;
Returns
Type
Description
String
The retrievedUrl.
public ByteString getRetrievedUrlBytes ()
Retrieved url by the tool.
string retrieved_url = 1;
Returns
Type
Description
ByteString
The bytes for retrievedUrl.
public UrlMetadata . UrlRetrievalStatus getUrlRetrievalStatus ()
Status of the url retrieval.
.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
public int getUrlRetrievalStatusValue ()
Status of the url retrieval.
.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
Returns
Type
Description
int
The enum numeric value on the wire for urlRetrievalStatus.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UrlMetadata . Builder mergeFrom ( UrlMetadata other )
public UrlMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public UrlMetadata . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final UrlMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UrlMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UrlMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public UrlMetadata . Builder setRetrievedUrl ( String value )
Retrieved url by the tool.
string retrieved_url = 1;
Parameter
Name
Description
value
String
The retrievedUrl to set.
public UrlMetadata . Builder setRetrievedUrlBytes ( ByteString value )
Retrieved url by the tool.
string retrieved_url = 1;
Parameter
Name
Description
value
ByteString
The bytes for retrievedUrl to set.
public final UrlMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UrlMetadata . Builder setUrlRetrievalStatus ( UrlMetadata . UrlRetrievalStatus value )
Status of the url retrieval.
.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
public UrlMetadata . Builder setUrlRetrievalStatusValue ( int value )
Status of the url retrieval.
.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus url_retrieval_status = 2;
Parameter
Name
Description
value
int
The enum numeric value on the wire for urlRetrievalStatus to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]