Class GroundingAttribution.Web (3.41.0)

public static final class GroundingAttribution.Web extends GeneratedMessageV3 implements GroundingAttribution.WebOrBuilder

Attribution from the web.

Protobuf type google.cloud.aiplatform.v1.GroundingAttribution.Web

Static Fields

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GroundingAttribution.Web getDefaultInstance()
Returns
TypeDescription
GroundingAttribution.Web

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GroundingAttribution.Web.Builder newBuilder()
Returns
TypeDescription
GroundingAttribution.Web.Builder

newBuilder(GroundingAttribution.Web prototype)

public static GroundingAttribution.Web.Builder newBuilder(GroundingAttribution.Web prototype)
Parameter
NameDescription
prototypeGroundingAttribution.Web
Returns
TypeDescription
GroundingAttribution.Web.Builder

parseDelimitedFrom(InputStream input)

public static GroundingAttribution.Web parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroundingAttribution.Web parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GroundingAttribution.Web parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GroundingAttribution.Web parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GroundingAttribution.Web parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GroundingAttribution.Web parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GroundingAttribution.Web parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GroundingAttribution.Web parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GroundingAttribution.Web parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GroundingAttribution.Web parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GroundingAttribution.Web parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GroundingAttribution.Web parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GroundingAttribution.Web
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GroundingAttribution.Web> parser()
Returns
TypeDescription
Parser<Web>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GroundingAttribution.Web getDefaultInstanceForType()
Returns
TypeDescription
GroundingAttribution.Web

getParserForType()

public Parser<GroundingAttribution.Web> getParserForType()
Returns
TypeDescription
Parser<Web>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTitle()

public String getTitle()

Output only. Title of the attribution.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. Title of the attribution.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for title.

getUri()

public String getUri()

Output only. URI reference of the attribution.

string uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Output only. URI reference of the attribution.

string uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GroundingAttribution.Web.Builder newBuilderForType()
Returns
TypeDescription
GroundingAttribution.Web.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GroundingAttribution.Web.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GroundingAttribution.Web.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GroundingAttribution.Web.Builder toBuilder()
Returns
TypeDescription
GroundingAttribution.Web.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException