Class PublisherModel.CallToAction.ViewRestApi (3.47.0)

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

Rest API docs.

Protobuf type google.cloud.aiplatform.v1beta1.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
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PublisherModel.CallToAction.ViewRestApi getDefaultInstance()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PublisherModel.CallToAction.ViewRestApi.Builder newBuilder()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

newBuilder(PublisherModel.CallToAction.ViewRestApi prototype)

public static PublisherModel.CallToAction.ViewRestApi.Builder newBuilder(PublisherModel.CallToAction.ViewRestApi prototype)
Parameter
Name Description
prototype PublisherModel.CallToAction.ViewRestApi
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

parseDelimitedFrom(InputStream input)

public static PublisherModel.CallToAction.ViewRestApi parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PublisherModel.CallToAction.ViewRestApi parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PublisherModel.CallToAction.ViewRestApi getDefaultInstanceForType()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi

getDocumentations(int index)

public PublisherModel.Documentation getDocumentations(int index)

Required.

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

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.Documentation

getDocumentationsCount()

public int getDocumentationsCount()

Required.

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

Returns
Type Description
int

getDocumentationsList()

public List<PublisherModel.Documentation> getDocumentationsList()

Required.

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

Returns
Type Description
List<Documentation>

getDocumentationsOrBuilder(int index)

public PublisherModel.DocumentationOrBuilder getDocumentationsOrBuilder(int index)

Required.

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

Parameter
Name Description
index int
Returns
Type Description
PublisherModel.DocumentationOrBuilder

getDocumentationsOrBuilderList()

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

Required.

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.PublisherModel.DocumentationOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTitle()

public String getTitle()

Required. The title of the view rest API.

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

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Required. The title of the view rest API.

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

Returns
Type Description
ByteString

The bytes for title.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PublisherModel.CallToAction.ViewRestApi.Builder newBuilderForType()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PublisherModel.CallToAction.ViewRestApi.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PublisherModel.CallToAction.ViewRestApi.Builder toBuilder()
Returns
Type Description
PublisherModel.CallToAction.ViewRestApi.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException