Class SyncShareRequest.Builder (0.3.0)

public static final class SyncShareRequest.Builder extends GeneratedMessage.Builder<SyncShareRequest.Builder> implements SyncShareRequestOrBuilder

Message for syncing a share of a catalog.

Protobuf type google.cloud.designcenter.v1.SyncShareRequest

Static Methods

getDescriptor()

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

Methods

build()

public SyncShareRequest build()
Returns
Type Description
SyncShareRequest

buildPartial()

public SyncShareRequest buildPartial()
Returns
Type Description
SyncShareRequest

clear()

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

clearName()

public SyncShareRequest.Builder clearName()

Required. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share

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

Returns
Type Description
SyncShareRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public SyncShareRequest getDefaultInstanceForType()
Returns
Type Description
SyncShareRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SyncShareRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public SyncShareRequest.Builder setName(String value)

Required. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SyncShareRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SyncShareRequest.Builder setNameBytes(ByteString value)

Required. The share name in the following format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/shares/$share

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SyncShareRequest.Builder

This builder for chaining.