Class CreateTensorboardRequest.Builder (3.44.0)

public static final class CreateTensorboardRequest.Builder extends GeneratedMessageV3.Builder<CreateTensorboardRequest.Builder> implements CreateTensorboardRequestOrBuilder

Request message for TensorboardService.CreateTensorboard.

Protobuf type google.cloud.aiplatform.v1beta1.CreateTensorboardRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTensorboardRequest build()
Returns
Type Description
CreateTensorboardRequest

buildPartial()

public CreateTensorboardRequest buildPartial()
Returns
Type Description
CreateTensorboardRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateTensorboardRequest.Builder clearParent()

Required. The resource name of the Location to create the Tensorboard in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateTensorboardRequest.Builder

This builder for chaining.

clearTensorboard()

public CreateTensorboardRequest.Builder clearTensorboard()

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTensorboardRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateTensorboardRequest getDefaultInstanceForType()
Returns
Type Description
CreateTensorboardRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The resource name of the Location to create the Tensorboard in. 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 create the Tensorboard in. 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.

getTensorboard()

public Tensorboard getTensorboard()

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tensorboard

The tensorboard.

getTensorboardBuilder()

public Tensorboard.Builder getTensorboardBuilder()

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tensorboard.Builder

getTensorboardOrBuilder()

public TensorboardOrBuilder getTensorboardOrBuilder()

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TensorboardOrBuilder

hasTensorboard()

public boolean hasTensorboard()

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tensorboard field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTensorboardRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTensorboard(Tensorboard value)

public CreateTensorboardRequest.Builder mergeTensorboard(Tensorboard value)

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Tensorboard
Returns
Type Description
CreateTensorboardRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateTensorboardRequest.Builder setParent(String value)

Required. The resource name of the Location to create the Tensorboard in. 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
CreateTensorboardRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTensorboardRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the Tensorboard in. 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
CreateTensorboardRequest.Builder

This builder for chaining.

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

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

setTensorboard(Tensorboard value)

public CreateTensorboardRequest.Builder setTensorboard(Tensorboard value)

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Tensorboard
Returns
Type Description
CreateTensorboardRequest.Builder

setTensorboard(Tensorboard.Builder builderForValue)

public CreateTensorboardRequest.Builder setTensorboard(Tensorboard.Builder builderForValue)

Required. The Tensorboard to create.

.google.cloud.aiplatform.v1beta1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Tensorboard.Builder
Returns
Type Description
CreateTensorboardRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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