Class PublisherModel.CallToAction.ViewRestApi (3.34.0)

public static final class PublisherModel.CallToAction.ViewRestApi extends GeneratedMessageV3 implements PublisherModel.CallToAction.ViewRestApiOrBuilder

Rest API docs.

Protobuf type google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApi

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PublisherModel.CallToAction.ViewRestApi

Static Fields

DOCUMENTATIONS_FIELD_NUMBER

public static final int DOCUMENTATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PublisherModel.CallToAction.ViewRestApi getDefaultInstance()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi

getDescriptor()

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

newBuilder()

public static PublisherModel.CallToAction.ViewRestApi.Builder newBuilder()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

newBuilder(PublisherModel.CallToAction.ViewRestApi prototype)

public static PublisherModel.CallToAction.ViewRestApi.Builder newBuilder(PublisherModel.CallToAction.ViewRestApi prototype)
Parameter
NameDescription
prototypePublisherModel.CallToAction.ViewRestApi
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

parseDelimitedFrom(InputStream input)

public static PublisherModel.CallToAction.ViewRestApi parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PublisherModel.CallToAction.ViewRestApi> parser()
Returns
TypeDescription
Parser<ViewRestApi>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PublisherModel.CallToAction.ViewRestApi getDefaultInstanceForType()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi

getDocumentations(int index)

public PublisherModel.Documentation getDocumentations(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.Documentation

getDocumentationsCount()

public int getDocumentationsCount()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getDocumentationsList()

public List<PublisherModel.Documentation> getDocumentationsList()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Documentation>

getDocumentationsOrBuilder(int index)

public PublisherModel.DocumentationOrBuilder getDocumentationsOrBuilder(int index)

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PublisherModel.DocumentationOrBuilder

getDocumentationsOrBuilderList()

public List<? extends PublisherModel.DocumentationOrBuilder> getDocumentationsOrBuilderList()

Required.

repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.PublisherModel.DocumentationOrBuilder>

getParserForType()

public Parser<PublisherModel.CallToAction.ViewRestApi> getParserForType()
Returns
TypeDescription
Parser<ViewRestApi>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTitle()

public String getTitle()

Required. The title of the view rest API.

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

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the view rest API.

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

Returns
TypeDescription
ByteString

The bytes for title.

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 PublisherModel.CallToAction.ViewRestApi.Builder newBuilderForType()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublisherModel.CallToAction.ViewRestApi.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PublisherModel.CallToAction.ViewRestApi.Builder toBuilder()
Returns
TypeDescription
PublisherModel.CallToAction.ViewRestApi.Builder

writeTo(CodedOutputStream output)

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