Class FetchPublisherModelConfigRequest.Builder (3.84.0)

public static final class FetchPublisherModelConfigRequest.Builder extends GeneratedMessage.Builder<FetchPublisherModelConfigRequest.Builder> implements FetchPublisherModelConfigRequestOrBuilder

Request message for EndpointService.FetchPublisherModelConfig.

Protobuf type google.cloud.aiplatform.v1beta1.FetchPublisherModelConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public FetchPublisherModelConfigRequest build()
Returns
Type Description
FetchPublisherModelConfigRequest

buildPartial()

public FetchPublisherModelConfigRequest buildPartial()
Returns
Type Description
FetchPublisherModelConfigRequest

clear()

public FetchPublisherModelConfigRequest.Builder clear()
Returns
Type Description
FetchPublisherModelConfigRequest.Builder
Overrides

clearName()

public FetchPublisherModelConfigRequest.Builder clearName()

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FetchPublisherModelConfigRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public FetchPublisherModelConfigRequest getDefaultInstanceForType()
Returns
Type Description
FetchPublisherModelConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchPublisherModelConfigRequest other)

public FetchPublisherModelConfigRequest.Builder mergeFrom(FetchPublisherModelConfigRequest other)
Parameter
Name Description
other FetchPublisherModelConfigRequest
Returns
Type Description
FetchPublisherModelConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchPublisherModelConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchPublisherModelConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchPublisherModelConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchPublisherModelConfigRequest.Builder
Overrides

setName(String value)

public FetchPublisherModelConfigRequest.Builder setName(String value)

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FetchPublisherModelConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FetchPublisherModelConfigRequest.Builder setNameBytes(ByteString value)

Required. The name of the publisher model, in the format of projects/{project}/locations/{location}/publishers/{publisher}/models/{model}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FetchPublisherModelConfigRequest.Builder

This builder for chaining.