public static final class AcceptPublisherModelEulaRequest.Builder extends GeneratedMessage.Builder<AcceptPublisherModelEulaRequest.Builder> implements AcceptPublisherModelEulaRequestOrBuilderRequest message for ModelGardenService.AcceptPublisherModelEula.
Protobuf type google.cloud.aiplatform.v1beta1.AcceptPublisherModelEulaRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AcceptPublisherModelEulaRequest.BuilderImplements
AcceptPublisherModelEulaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AcceptPublisherModelEulaRequest build()| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest |
|
buildPartial()
public AcceptPublisherModelEulaRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest |
|
clear()
public AcceptPublisherModelEulaRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
|
clearParent()
public AcceptPublisherModelEulaRequest.Builder clearParent() Required. The project requesting access for named model. The format is
projects/{project}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
This builder for chaining. |
clearPublisherModel()
public AcceptPublisherModelEulaRequest.Builder clearPublisherModel() Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}
string publisher_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AcceptPublisherModelEulaRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The project requesting access for named model. The format is
projects/{project}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The project requesting access for named model. The format is
projects/{project}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPublisherModel()
public String getPublisherModel() Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}
string publisher_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The publisherModel. |
getPublisherModelBytes()
public ByteString getPublisherModelBytes() Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}
string publisher_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for publisherModel. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AcceptPublisherModelEulaRequest other)
public AcceptPublisherModelEulaRequest.Builder mergeFrom(AcceptPublisherModelEulaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
AcceptPublisherModelEulaRequest |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AcceptPublisherModelEulaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AcceptPublisherModelEulaRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
|
setParent(String value)
public AcceptPublisherModelEulaRequest.Builder setParent(String value) Required. The project requesting access for named model. The format is
projects/{project}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public AcceptPublisherModelEulaRequest.Builder setParentBytes(ByteString value) Required. The project requesting access for named model. The format is
projects/{project}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
This builder for chaining. |
setPublisherModel(String value)
public AcceptPublisherModelEulaRequest.Builder setPublisherModel(String value) Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}
string publisher_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe publisherModel to set. |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
This builder for chaining. |
setPublisherModelBytes(ByteString value)
public AcceptPublisherModelEulaRequest.Builder setPublisherModelBytes(ByteString value) Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}
string publisher_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for publisherModel to set. |
| Returns | |
|---|---|
| Type | Description |
AcceptPublisherModelEulaRequest.Builder |
This builder for chaining. |