public static final class LookupStudyRequest.Builder extends GeneratedMessageV3.Builder<LookupStudyRequest.Builder> implements LookupStudyRequestOrBuilder
Request message for VizierService.LookupStudy.
Protobuf type google.cloud.aiplatform.v1.LookupStudyRequest
Methods
public LookupStudyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public LookupStudyRequest build()
Returns
public LookupStudyRequest buildPartial()
Returns
public LookupStudyRequest.Builder clear()
Returns
Overrides
public LookupStudyRequest.Builder clearDisplayName()
Required. The user-defined display name of the Study
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public LookupStudyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public LookupStudyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public LookupStudyRequest.Builder clearParent()
Required. The resource name of the Location to get the Study from.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public LookupStudyRequest.Builder clone()
Returns
Overrides
public LookupStudyRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getDisplayName()
Required. The user-defined display name of the Study
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The displayName.
|
public ByteString getDisplayNameBytes()
Required. The user-defined display name of the Study
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for displayName.
|
public String getParent()
Required. The resource name of the Location to get the Study from.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The resource name of the Location to get the Study from.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public LookupStudyRequest.Builder mergeFrom(LookupStudyRequest other)
Parameter
Returns
public LookupStudyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public LookupStudyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final LookupStudyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public LookupStudyRequest.Builder setDisplayName(String value)
Required. The user-defined display name of the Study
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The displayName to set.
|
Returns
public LookupStudyRequest.Builder setDisplayNameBytes(ByteString value)
Required. The user-defined display name of the Study
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for displayName to set.
|
Returns
public LookupStudyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public LookupStudyRequest.Builder setParent(String value)
Required. The resource name of the Location to get the Study from.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public LookupStudyRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Location to get the Study from.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public LookupStudyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final LookupStudyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides