Class LookupStudyRequest.Builder (3.56.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupStudyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupStudyRequest.Builder
Overrides

build()

public LookupStudyRequest build()
Returns
Type Description
LookupStudyRequest

buildPartial()

public LookupStudyRequest buildPartial()
Returns
Type Description
LookupStudyRequest

clear()

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

clearDisplayName()

public LookupStudyRequest.Builder clearDisplayName()

Required. The user-defined display name of the Study

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LookupStudyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LookupStudyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LookupStudyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupStudyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LookupStudyRequest.Builder
Overrides

clearParent()

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
Type Description
LookupStudyRequest.Builder

This builder for chaining.

clone()

public LookupStudyRequest.Builder clone()
Returns
Type Description
LookupStudyRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupStudyRequest getDefaultInstanceForType()
Returns
Type Description
LookupStudyRequest

getDescriptorForType()

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

getDisplayName()

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.

getDisplayNameBytes()

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.

getParent()

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.

getParentBytes()

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
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupStudyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupStudyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupStudyRequest.Builder
Overrides

setDisplayName(String value)

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
Type Description
LookupStudyRequest.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

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
Type Description
LookupStudyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LookupStudyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupStudyRequest.Builder
Overrides

setParent(String value)

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
Type Description
LookupStudyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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
Type Description
LookupStudyRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LookupStudyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LookupStudyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupStudyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupStudyRequest.Builder
Overrides