Class Namespace.Builder (1.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Namespace build()
Returns
TypeDescription
Namespace

buildPartial()

public Namespace buildPartial()
Returns
TypeDescription
Namespace

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIamPolicy()

public Namespace.Builder clearIamPolicy()

IAM policy associated with this namespace.

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

Returns
TypeDescription
Namespace.Builder

clearName()

public Namespace.Builder clearName()

Name of the given namespace.

string name = 1;

Returns
TypeDescription
Namespace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Namespace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Namespace.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public Namespace getDefaultInstanceForType()
Returns
TypeDescription
Namespace

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIamPolicy()

public IAMPolicy getIamPolicy()

IAM policy associated with this namespace.

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

Returns
TypeDescription
IAMPolicy

The iamPolicy.

getIamPolicyBuilder()

public IAMPolicy.Builder getIamPolicyBuilder()

IAM policy associated with this namespace.

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

Returns
TypeDescription
IAMPolicy.Builder

getIamPolicyOrBuilder()

public IAMPolicyOrBuilder getIamPolicyOrBuilder()

IAM policy associated with this namespace.

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

Returns
TypeDescription
IAMPolicyOrBuilder

getName()

public String getName()

Name of the given namespace.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the given namespace.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasIamPolicy()

public boolean hasIamPolicy()

IAM policy associated with this namespace.

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

Returns
TypeDescription
boolean

Whether the iamPolicy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Namespace other)

public Namespace.Builder mergeFrom(Namespace other)
Parameter
NameDescription
otherNamespace
Returns
TypeDescription
Namespace.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Namespace.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIAMPolicy
Returns
TypeDescription
Namespace.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Namespace.Builder setName(String value)

Name of the given namespace.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Namespace.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Namespace.Builder setNameBytes(ByteString value)

Name of the given namespace.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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