Class AuthorizationLoggingOptions.Builder (1.58.0)

public static final class AuthorizationLoggingOptions.Builder extends GeneratedMessageV3.Builder<AuthorizationLoggingOptions.Builder> implements AuthorizationLoggingOptionsOrBuilder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.AuthorizationLoggingOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthorizationLoggingOptions build()
Returns
Type Description
AuthorizationLoggingOptions

buildPartial()

public AuthorizationLoggingOptions buildPartial()
Returns
Type Description
AuthorizationLoggingOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPermissionType()

public AuthorizationLoggingOptions.Builder clearPermissionType()

This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values.

optional string permission_type = 525978538;

Returns
Type Description
AuthorizationLoggingOptions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AuthorizationLoggingOptions getDefaultInstanceForType()
Returns
Type Description
AuthorizationLoggingOptions

getDescriptorForType()

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

getPermissionType()

public String getPermissionType()

This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values.

optional string permission_type = 525978538;

Returns
Type Description
String

The permissionType.

getPermissionTypeBytes()

public ByteString getPermissionTypeBytes()

This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values.

optional string permission_type = 525978538;

Returns
Type Description
ByteString

The bytes for permissionType.

hasPermissionType()

public boolean hasPermissionType()

This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values.

optional string permission_type = 525978538;

Returns
Type Description
boolean

Whether the permissionType field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuthorizationLoggingOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPermissionType(String value)

public AuthorizationLoggingOptions.Builder setPermissionType(String value)

This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values.

optional string permission_type = 525978538;

Parameter
Name Description
value String

The permissionType to set.

Returns
Type Description
AuthorizationLoggingOptions.Builder

This builder for chaining.

setPermissionTypeBytes(ByteString value)

public AuthorizationLoggingOptions.Builder setPermissionTypeBytes(ByteString value)

This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values.

optional string permission_type = 525978538;

Parameter
Name Description
value ByteString

The bytes for permissionType to set.

Returns
Type Description
AuthorizationLoggingOptions.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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