Class Namespace (1.31.0)

public final class Namespace extends GeneratedMessageV3 implements NamespaceOrBuilder

Represents the information of a namespace

Protobuf type google.cloud.datafusion.v1beta1.Namespace

Implements

NamespaceOrBuilder

Static Fields

IAM_POLICY_FIELD_NUMBER

public static final int IAM_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Namespace getDefaultInstance()
Returns
TypeDescription
Namespace

getDescriptor()

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

newBuilder()

public static Namespace.Builder newBuilder()
Returns
TypeDescription
Namespace.Builder

newBuilder(Namespace prototype)

public static Namespace.Builder newBuilder(Namespace prototype)
Parameter
NameDescription
prototypeNamespace
Returns
TypeDescription
Namespace.Builder

parseDelimitedFrom(InputStream input)

public static Namespace parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Namespace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Namespace parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Namespace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Namespace parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Namespace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Namespace parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Namespace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Namespace parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Namespace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Namespace parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Namespace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Namespace
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Namespace> parser()
Returns
TypeDescription
Parser<Namespace>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Namespace getDefaultInstanceForType()
Returns
TypeDescription
Namespace

getIamPolicy()

public IAMPolicy getIamPolicy()

IAM policy associated with this namespace.

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

Returns
TypeDescription
IAMPolicy

The iamPolicy.

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.

getParserForType()

public Parser<Namespace> getParserForType()
Returns
TypeDescription
Parser<Namespace>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Namespace.Builder newBuilderForType()
Returns
TypeDescription
Namespace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Namespace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Namespace.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Namespace.Builder toBuilder()
Returns
TypeDescription
Namespace.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException