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.v1.PublisherModel.CallToAction.ViewRestApi
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 PublisherModel.CallToAction.ViewRestApi.Builder addAllDocumentations(Iterable<? extends PublisherModel.Documentation> values)
Required.
repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.PublisherModel.Documentation>
|
public PublisherModel.CallToAction.ViewRestApi.Builder addDocumentations(PublisherModel.Documentation value)
Required.
repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel.CallToAction.ViewRestApi.Builder addDocumentations(PublisherModel.Documentation.Builder builderForValue)
Required.
repeated .google.cloud.aiplatform.v1.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.v1.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.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel.Documentation.Builder addDocumentationsBuilder()
Required.
repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel.Documentation.Builder addDocumentationsBuilder(int index)
Required.
repeated .google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.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.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public int getDocumentationsCount()
Required.
repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
public List<PublisherModel.Documentation> getDocumentationsList()
Required.
repeated .google.cloud.aiplatform.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
public PublisherModel.DocumentationOrBuilder getDocumentationsOrBuilder(int index)
Required.
repeated .google.cloud.aiplatform.v1.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.v1.PublisherModel.Documentation documentations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.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