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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppConnector.PrincipalInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AppConnector.PrincipalInfo build()
Returns
buildPartial()
public AppConnector.PrincipalInfo buildPartial()
Returns
clear()
public AppConnector.PrincipalInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AppConnector.PrincipalInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AppConnector.PrincipalInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceAccount()
public AppConnector.PrincipalInfo.Builder clearServiceAccount()
A GCP service account.
.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;
Returns
clearType()
public AppConnector.PrincipalInfo.Builder clearType()
Returns
clone()
public AppConnector.PrincipalInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AppConnector.PrincipalInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getServiceAccount()
public AppConnector.PrincipalInfo.ServiceAccount getServiceAccount()
A GCP service account.
.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;
Returns
getServiceAccountBuilder()
public AppConnector.PrincipalInfo.ServiceAccount.Builder getServiceAccountBuilder()
A GCP service account.
.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;
Returns
getServiceAccountOrBuilder()
public AppConnector.PrincipalInfo.ServiceAccountOrBuilder getServiceAccountOrBuilder()
A GCP service account.
.google.cloud.beyondcorp.appconnectors.v1.AppConnector.PrincipalInfo.ServiceAccount service_account = 1;
Returns
getTypeCase()
public AppConnector.PrincipalInfo.TypeCase getTypeCase()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AppConnector.PrincipalInfo other)
public AppConnector.PrincipalInfo.Builder mergeFrom(AppConnector.PrincipalInfo other)
Parameter
Returns
public AppConnector.PrincipalInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AppConnector.PrincipalInfo.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppConnector.PrincipalInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AppConnector.PrincipalInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppConnector.PrincipalInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AppConnector.PrincipalInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides