Class LookupStudyRequest.Builder (2.4.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupStudyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides

build()

public LookupStudyRequest build()
Returns
TypeDescription
LookupStudyRequest

buildPartial()

public LookupStudyRequest buildPartial()
Returns
TypeDescription
LookupStudyRequest

clear()

public LookupStudyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
LookupStudyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LookupStudyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupStudyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
LookupStudyRequest.Builder

This builder for chaining.

clone()

public LookupStudyRequest.Builder clone()
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides

getDefaultInstanceForType()

public LookupStudyRequest getDefaultInstanceForType()
Returns
TypeDescription
LookupStudyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupStudyRequest other)

public LookupStudyRequest.Builder mergeFrom(LookupStudyRequest other)
Parameter
NameDescription
otherLookupStudyRequest
Returns
TypeDescription
LookupStudyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupStudyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupStudyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupStudyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
LookupStudyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LookupStudyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupStudyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupStudyRequest.Builder
Overrides