Class CreateTensorboardRequest.Builder (3.4.1)

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

Request message for TensorboardService.CreateTensorboard.

Protobuf type google.cloud.aiplatform.v1.CreateTensorboardRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateTensorboardRequest build()
Returns
TypeDescription
CreateTensorboardRequest

buildPartial()

public CreateTensorboardRequest buildPartial()
Returns
TypeDescription
CreateTensorboardRequest

clear()

public CreateTensorboardRequest.Builder clear()
Returns
TypeDescription
CreateTensorboardRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearTensorboard()

public CreateTensorboardRequest.Builder clearTensorboard()

Required. The Tensorboard to create.

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

Returns
TypeDescription
CreateTensorboardRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateTensorboardRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTensorboardRequest

getDescriptorForType()

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

The bytes for parent.

getTensorboard()

public Tensorboard getTensorboard()

Required. The Tensorboard to create.

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

Returns
TypeDescription
Tensorboard

The tensorboard.

getTensorboardBuilder()

public Tensorboard.Builder getTensorboardBuilder()

Required. The Tensorboard to create.

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

Returns
TypeDescription
Tensorboard.Builder

getTensorboardOrBuilder()

public TensorboardOrBuilder getTensorboardOrBuilder()

Required. The Tensorboard to create.

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

Returns
TypeDescription
TensorboardOrBuilder

hasTensorboard()

public boolean hasTensorboard()

Required. The Tensorboard to create.

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

Returns
TypeDescription
boolean

Whether the tensorboard field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTensorboardRequest other)

public CreateTensorboardRequest.Builder mergeFrom(CreateTensorboardRequest other)
Parameter
NameDescription
otherCreateTensorboardRequest
Returns
TypeDescription
CreateTensorboardRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTensorboard(Tensorboard value)

public CreateTensorboardRequest.Builder mergeTensorboard(Tensorboard value)

Required. The Tensorboard to create.

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

Parameter
NameDescription
valueTensorboard
Returns
TypeDescription
CreateTensorboardRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTensorboardRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTensorboardRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setTensorboard(Tensorboard value)

public CreateTensorboardRequest.Builder setTensorboard(Tensorboard value)

Required. The Tensorboard to create.

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

Parameter
NameDescription
valueTensorboard
Returns
TypeDescription
CreateTensorboardRequest.Builder

setTensorboard(Tensorboard.Builder builderForValue)

public CreateTensorboardRequest.Builder setTensorboard(Tensorboard.Builder builderForValue)

Required. The Tensorboard to create.

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

Parameter
NameDescription
builderForValueTensorboard.Builder
Returns
TypeDescription
CreateTensorboardRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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