Class AppConnector.PrincipalInfo.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppConnector.PrincipalInfo build()
Returns
TypeDescription
AppConnector.PrincipalInfo

buildPartial()

public AppConnector.PrincipalInfo buildPartial()
Returns
TypeDescription
AppConnector.PrincipalInfo

clear()

public AppConnector.PrincipalInfo.Builder clear()
Returns
TypeDescription
AppConnector.PrincipalInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public AppConnector.PrincipalInfo.Builder clearType()
Returns
TypeDescription
AppConnector.PrincipalInfo.Builder

clone()

public AppConnector.PrincipalInfo.Builder clone()
Returns
TypeDescription
AppConnector.PrincipalInfo.Builder
Overrides

getDefaultInstanceForType()

public AppConnector.PrincipalInfo getDefaultInstanceForType()
Returns
TypeDescription
AppConnector.PrincipalInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getServiceAccount()

public AppConnector.PrincipalInfo.ServiceAccount getServiceAccount()

A GCP service account.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AppConnector.PrincipalInfo.ServiceAccountOrBuilder

getTypeCase()

public AppConnector.PrincipalInfo.TypeCase getTypeCase()
Returns
TypeDescription
AppConnector.PrincipalInfo.TypeCase

hasServiceAccount()

public boolean hasServiceAccount()

A GCP service account.

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

Returns
TypeDescription
boolean

Whether the serviceAccount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppConnector.PrincipalInfo other)

public AppConnector.PrincipalInfo.Builder mergeFrom(AppConnector.PrincipalInfo other)
Parameter
NameDescription
otherAppConnector.PrincipalInfo
Returns
TypeDescription
AppConnector.PrincipalInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AppConnector.PrincipalInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAppConnector.PrincipalInfo.ServiceAccount
Returns
TypeDescription
AppConnector.PrincipalInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AppConnector.PrincipalInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAppConnector.PrincipalInfo.ServiceAccount
Returns
TypeDescription
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
NameDescription
builderForValueAppConnector.PrincipalInfo.ServiceAccount.Builder
Returns
TypeDescription
AppConnector.PrincipalInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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