- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class PublisherModel.ResourceReference.Builder extends GeneratedMessageV3.Builder<PublisherModel.ResourceReference.Builder> implements PublisherModel.ResourceReferenceOrBuilder
Reference to a resource.
Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublisherModel.ResourceReference.BuilderImplements
PublisherModel.ResourceReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PublisherModel.ResourceReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
build()
public PublisherModel.ResourceReference build()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference |
buildPartial()
public PublisherModel.ResourceReference buildPartial()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference |
clear()
public PublisherModel.ResourceReference.Builder clear()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
clearDescription()
public PublisherModel.ResourceReference.Builder clearDescription()
Description of the resource.
string description = 4;
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PublisherModel.ResourceReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PublisherModel.ResourceReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
clearReference()
public PublisherModel.ResourceReference.Builder clearReference()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
clearResourceName()
public PublisherModel.ResourceReference.Builder clearResourceName()
The resource name of the Google Cloud resource.
string resource_name = 2;
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
clearUri()
public PublisherModel.ResourceReference.Builder clearUri()
The URI of the resource.
string uri = 1;
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
clearUseCase()
public PublisherModel.ResourceReference.Builder clearUseCase()
Use case (CUJ) of the resource.
string use_case = 3;
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
clone()
public PublisherModel.ResourceReference.Builder clone()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
getDefaultInstanceForType()
public PublisherModel.ResourceReference getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference |
getDescription()
public String getDescription()
Description of the resource.
string description = 4;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the resource.
string description = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getReferenceCase()
public PublisherModel.ResourceReference.ReferenceCase getReferenceCase()
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.ReferenceCase |
getResourceName()
public String getResourceName()
The resource name of the Google Cloud resource.
string resource_name = 2;
Returns | |
---|---|
Type | Description |
String | The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes()
The resource name of the Google Cloud resource.
string resource_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for resourceName. |
getUri()
public String getUri()
The URI of the resource.
string uri = 1;
Returns | |
---|---|
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
The URI of the resource.
string uri = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for uri. |
getUseCase()
public String getUseCase()
Use case (CUJ) of the resource.
string use_case = 3;
Returns | |
---|---|
Type | Description |
String | The useCase. |
getUseCaseBytes()
public ByteString getUseCaseBytes()
Use case (CUJ) of the resource.
string use_case = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for useCase. |
hasDescription()
public boolean hasDescription()
Description of the resource.
string description = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the description field is set. |
hasResourceName()
public boolean hasResourceName()
The resource name of the Google Cloud resource.
string resource_name = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the resourceName field is set. |
hasUri()
public boolean hasUri()
The URI of the resource.
string uri = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the uri field is set. |
hasUseCase()
public boolean hasUseCase()
Use case (CUJ) of the resource.
string use_case = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the useCase field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PublisherModel.ResourceReference other)
public PublisherModel.ResourceReference.Builder mergeFrom(PublisherModel.ResourceReference other)
Parameter | |
---|---|
Name | Description |
other | PublisherModel.ResourceReference |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublisherModel.ResourceReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PublisherModel.ResourceReference.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PublisherModel.ResourceReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
setDescription(String value)
public PublisherModel.ResourceReference.Builder setDescription(String value)
Description of the resource.
string description = 4;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public PublisherModel.ResourceReference.Builder setDescriptionBytes(ByteString value)
Description of the resource.
string description = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PublisherModel.ResourceReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PublisherModel.ResourceReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
setResourceName(String value)
public PublisherModel.ResourceReference.Builder setResourceName(String value)
The resource name of the Google Cloud resource.
string resource_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The resourceName to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setResourceNameBytes(ByteString value)
public PublisherModel.ResourceReference.Builder setResourceNameBytes(ByteString value)
The resource name of the Google Cloud resource.
string resource_name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceName to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PublisherModel.ResourceReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder |
setUri(String value)
public PublisherModel.ResourceReference.Builder setUri(String value)
The URI of the resource.
string uri = 1;
Parameter | |
---|---|
Name | Description |
value | String The uri to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public PublisherModel.ResourceReference.Builder setUriBytes(ByteString value)
The URI of the resource.
string uri = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setUseCase(String value)
public PublisherModel.ResourceReference.Builder setUseCase(String value)
Use case (CUJ) of the resource.
string use_case = 3;
Parameter | |
---|---|
Name | Description |
value | String The useCase to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |
setUseCaseBytes(ByteString value)
public PublisherModel.ResourceReference.Builder setUseCaseBytes(ByteString value)
Use case (CUJ) of the resource.
string use_case = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for useCase to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.ResourceReference.Builder | This builder for chaining. |