Class AspectType.Authorization.Builder (1.39.0)

public static final class AspectType.Authorization.Builder extends GeneratedMessageV3.Builder<AspectType.Authorization.Builder> implements AspectType.AuthorizationOrBuilder

Autorization for an Aspect Type.

Protobuf type google.cloud.dataplex.v1.AspectType.Authorization

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AspectType.Authorization build()
Returns
TypeDescription
AspectType.Authorization

buildPartial()

public AspectType.Authorization buildPartial()
Returns
TypeDescription
AspectType.Authorization

clear()

public AspectType.Authorization.Builder clear()
Returns
TypeDescription
AspectType.Authorization.Builder
Overrides

clearAlternateUsePermission()

public AspectType.Authorization.Builder clearAlternateUsePermission()

Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types.

string alternate_use_permission = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
AspectType.Authorization.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AspectType.Authorization.Builder clone()
Returns
TypeDescription
AspectType.Authorization.Builder
Overrides

getAlternateUsePermission()

public String getAlternateUsePermission()

Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types.

string alternate_use_permission = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The alternateUsePermission.

getAlternateUsePermissionBytes()

public ByteString getAlternateUsePermissionBytes()

Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types.

string alternate_use_permission = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for alternateUsePermission.

getDefaultInstanceForType()

public AspectType.Authorization getDefaultInstanceForType()
Returns
TypeDescription
AspectType.Authorization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AspectType.Authorization other)

public AspectType.Authorization.Builder mergeFrom(AspectType.Authorization other)
Parameter
NameDescription
otherAspectType.Authorization
Returns
TypeDescription
AspectType.Authorization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAlternateUsePermission(String value)

public AspectType.Authorization.Builder setAlternateUsePermission(String value)

Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types.

string alternate_use_permission = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The alternateUsePermission to set.

Returns
TypeDescription
AspectType.Authorization.Builder

This builder for chaining.

setAlternateUsePermissionBytes(ByteString value)

public AspectType.Authorization.Builder setAlternateUsePermissionBytes(ByteString value)

Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types.

string alternate_use_permission = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for alternateUsePermission to set.

Returns
TypeDescription
AspectType.Authorization.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AspectType.Authorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AspectType.Authorization.Builder
Overrides

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

public AspectType.Authorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AspectType.Authorization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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