Class AuthorizationLoggingOptions.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthorizationLoggingOptions build()
Returns
TypeDescription
AuthorizationLoggingOptions

buildPartial()

public AuthorizationLoggingOptions buildPartial()
Returns
TypeDescription
AuthorizationLoggingOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthorizationLoggingOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AuthorizationLoggingOptions.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AuthorizationLoggingOptions getDefaultInstanceForType()
Returns
TypeDescription
AuthorizationLoggingOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the permissionType field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuthorizationLoggingOptions other)

public AuthorizationLoggingOptions.Builder mergeFrom(AuthorizationLoggingOptions other)
Parameter
NameDescription
otherAuthorizationLoggingOptions
Returns
TypeDescription
AuthorizationLoggingOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The permissionType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for permissionType to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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