Send feedback
Class PublisherModel.CallToAction.ViewRestApi.Builder (3.19.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.19.0 keyboard_arrow_down
public static final class PublisherModel . CallToAction . ViewRestApi . Builder extends GeneratedMessageV3 . Builder<PublisherModel . CallToAction . ViewRestApi . Builder > implements PublisherModel . CallToAction . ViewRestApiOrBuilder
Rest API docs.
Protobuf type
google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.ViewRestApi
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 PublisherModel . CallToAction . ViewRestApi . Builder addAllDocumentations ( Iterable <? extends PublisherModel . Documentation > values )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description values
Iterable <? extends com.google.cloud.aiplatform.v1beta1.PublisherModel.Documentation >
public PublisherModel . CallToAction . ViewRestApi . Builder addDocumentations ( PublisherModel . Documentation value )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder addDocumentations ( PublisherModel . Documentation . Builder builderForValue )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder addDocumentations ( int index , PublisherModel . Documentation value )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder addDocumentations ( int index , PublisherModel . Documentation . Builder builderForValue )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . Documentation . Builder addDocumentationsBuilder ()
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . Documentation . Builder addDocumentationsBuilder ( int index )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description index
int
public PublisherModel . CallToAction . ViewRestApi . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public PublisherModel . CallToAction . ViewRestApi build ()
public PublisherModel . CallToAction . ViewRestApi buildPartial ()
public PublisherModel . CallToAction . ViewRestApi . Builder clear ()
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder clearDocumentations ()
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder clearTitle ()
Required. The title of the view rest API.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder clone ()
Overrides
public PublisherModel . CallToAction . ViewRestApi getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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
public PublisherModel . Documentation . Builder getDocumentationsBuilder ( int index )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description index
int
public List<PublisherModel . Documentation . Builder > getDocumentationsBuilderList ()
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public int getDocumentationsCount ()
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description int
public List<PublisherModel . Documentation > getDocumentationsList ()
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
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
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 >
Required. The title of the view rest API.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The title.
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.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder mergeFrom ( PublisherModel . CallToAction . ViewRestApi other )
public PublisherModel . CallToAction . ViewRestApi . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
public final PublisherModel . CallToAction . ViewRestApi . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder removeDocumentations ( int index )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description index
int
public PublisherModel . CallToAction . ViewRestApi . Builder setDocumentations ( int index , PublisherModel . Documentation value )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder setDocumentations ( int index , PublisherModel . Documentation . Builder builderForValue )
Required.
repeated .google.cloud.aiplatform.v1beta1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel . CallToAction . ViewRestApi . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public PublisherModel . CallToAction . ViewRestApi . Builder setTitle ( String value )
Required. The title of the view rest API.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The title to set.
public PublisherModel . CallToAction . ViewRestApi . Builder setTitleBytes ( ByteString value )
Required. The title of the view rest API.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for title to set.
public final PublisherModel . CallToAction . ViewRestApi . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]