Class AppConnector.PrincipalInfo.Builder (0.51.0)

public static final class AppConnector.PrincipalInfo.Builder extends GeneratedMessageV3.Builder<AppConnector.PrincipalInfo.Builder> implements AppConnector.PrincipalInfoOrBuilder

PrincipalInfo represents an Identity oneof.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppConnector.PrincipalInfo build()
Returns
Type Description
AppConnector.PrincipalInfo

buildPartial()

public AppConnector.PrincipalInfo buildPartial()
Returns
Type Description
AppConnector.PrincipalInfo

clear()

public AppConnector.PrincipalInfo.Builder clear()
Returns
Type Description
AppConnector.PrincipalInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAccount()

public AppConnector.PrincipalInfo.Builder clearServiceAccount()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
Type Description
AppConnector.PrincipalInfo.Builder

clearType()

public AppConnector.PrincipalInfo.Builder clearType()
Returns
Type Description
AppConnector.PrincipalInfo.Builder

clone()

public AppConnector.PrincipalInfo.Builder clone()
Returns
Type Description
AppConnector.PrincipalInfo.Builder
Overrides

getDefaultInstanceForType()

public AppConnector.PrincipalInfo getDefaultInstanceForType()
Returns
Type Description
AppConnector.PrincipalInfo

getDescriptorForType()

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

getServiceAccount()

public AppConnector.PrincipalInfo.ServiceAccount getServiceAccount()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount

The serviceAccount.

getServiceAccountBuilder()

public AppConnector.PrincipalInfo.ServiceAccount.Builder getServiceAccountBuilder()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccount.Builder

getServiceAccountOrBuilder()

public AppConnector.PrincipalInfo.ServiceAccountOrBuilder getServiceAccountOrBuilder()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
Type Description
AppConnector.PrincipalInfo.ServiceAccountOrBuilder

getTypeCase()

public AppConnector.PrincipalInfo.TypeCase getTypeCase()
Returns
Type Description
AppConnector.PrincipalInfo.TypeCase

hasServiceAccount()

public boolean hasServiceAccount()

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Returns
Type Description
boolean

Whether the serviceAccount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AppConnector.PrincipalInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceAccount(AppConnector.PrincipalInfo.ServiceAccount value)

public AppConnector.PrincipalInfo.Builder mergeServiceAccount(AppConnector.PrincipalInfo.ServiceAccount value)

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Parameter
Name Description
value AppConnector.PrincipalInfo.ServiceAccount
Returns
Type Description
AppConnector.PrincipalInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceAccount(AppConnector.PrincipalInfo.ServiceAccount value)

public AppConnector.PrincipalInfo.Builder setServiceAccount(AppConnector.PrincipalInfo.ServiceAccount value)

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Parameter
Name Description
value AppConnector.PrincipalInfo.ServiceAccount
Returns
Type Description
AppConnector.PrincipalInfo.Builder

setServiceAccount(AppConnector.PrincipalInfo.ServiceAccount.Builder builderForValue)

public AppConnector.PrincipalInfo.Builder setServiceAccount(AppConnector.PrincipalInfo.ServiceAccount.Builder builderForValue)

A GCP service account.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;

Parameter
Name Description
builderForValue AppConnector.PrincipalInfo.ServiceAccount.Builder
Returns
Type Description
AppConnector.PrincipalInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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