Class Namespace.Builder (1.45.0)

public static final class Namespace.Builder extends GeneratedMessageV3.Builder<Namespace.Builder> implements NamespaceOrBuilder

Represents the information of a namespace

Protobuf type google.cloud.datafusion.v1beta1.Namespace

Implements

NamespaceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Namespace build()
Returns
Type Description
Namespace

buildPartial()

public Namespace buildPartial()
Returns
Type Description
Namespace

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIamPolicy()

public Namespace.Builder clearIamPolicy()

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Returns
Type Description
Namespace.Builder

clearName()

public Namespace.Builder clearName()

Name of the given namespace.

string name = 1;

Returns
Type Description
Namespace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Namespace getDefaultInstanceForType()
Returns
Type Description
Namespace

getDescriptorForType()

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

getIamPolicy()

public IAMPolicy getIamPolicy()

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Returns
Type Description
IAMPolicy

The iamPolicy.

getIamPolicyBuilder()

public IAMPolicy.Builder getIamPolicyBuilder()

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Returns
Type Description
IAMPolicy.Builder

getIamPolicyOrBuilder()

public IAMPolicyOrBuilder getIamPolicyOrBuilder()

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Returns
Type Description
IAMPolicyOrBuilder

getName()

public String getName()

Name of the given namespace.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the given namespace.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasIamPolicy()

public boolean hasIamPolicy()

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Returns
Type Description
boolean

Whether the iamPolicy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Namespace other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIamPolicy(IAMPolicy value)

public Namespace.Builder mergeIamPolicy(IAMPolicy value)

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Parameter
Name Description
value IAMPolicy
Returns
Type Description
Namespace.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIamPolicy(IAMPolicy value)

public Namespace.Builder setIamPolicy(IAMPolicy value)

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Parameter
Name Description
value IAMPolicy
Returns
Type Description
Namespace.Builder

setIamPolicy(IAMPolicy.Builder builderForValue)

public Namespace.Builder setIamPolicy(IAMPolicy.Builder builderForValue)

IAM policy associated with this namespace.

.google.cloud.datafusion.v1beta1.IAMPolicy iam_policy = 2;

Parameter
Name Description
builderForValue IAMPolicy.Builder
Returns
Type Description
Namespace.Builder

setName(String value)

public Namespace.Builder setName(String value)

Name of the given namespace.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Namespace.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Namespace.Builder setNameBytes(ByteString value)

Name of the given namespace.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Namespace.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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