public static final class PatchServiceAccountRequest.Builder extends GeneratedMessageV3.Builder<PatchServiceAccountRequest.Builder> implements PatchServiceAccountRequestOrBuilder
The service account patch request.
You can patch only the display_name
and description
fields. You must use
the update_mask
field to specify which of these fields you want to patch.
Only the fields specified in the request are guaranteed to be returned in
the response. Other fields may be empty in the response.
Protobuf type google.iam.admin.v1.PatchServiceAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchServiceAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PatchServiceAccountRequest build()
buildPartial()
public PatchServiceAccountRequest buildPartial()
clear()
public PatchServiceAccountRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PatchServiceAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchServiceAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServiceAccount()
public PatchServiceAccountRequest.Builder clearServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
clearUpdateMask()
public PatchServiceAccountRequest.Builder clearUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
clone()
public PatchServiceAccountRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public PatchServiceAccountRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getServiceAccount()
public ServiceAccount getServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
getServiceAccountBuilder()
public ServiceAccount.Builder getServiceAccountBuilder()
.google.iam.admin.v1.ServiceAccount service_account = 1;
getServiceAccountOrBuilder()
public ServiceAccountOrBuilder getServiceAccountOrBuilder()
.google.iam.admin.v1.ServiceAccount service_account = 1;
getUpdateMask()
public FieldMask getUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
.google.protobuf.FieldMask update_mask = 2;
hasServiceAccount()
public boolean hasServiceAccount()
.google.iam.admin.v1.ServiceAccount service_account = 1;
Returns |
---|
Type | Description |
boolean | Whether the serviceAccount field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PatchServiceAccountRequest other)
public PatchServiceAccountRequest.Builder mergeFrom(PatchServiceAccountRequest other)
public PatchServiceAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PatchServiceAccountRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeServiceAccount(ServiceAccount value)
public PatchServiceAccountRequest.Builder mergeServiceAccount(ServiceAccount value)
.google.iam.admin.v1.ServiceAccount service_account = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchServiceAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public PatchServiceAccountRequest.Builder mergeUpdateMask(FieldMask value)
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public PatchServiceAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchServiceAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServiceAccount(ServiceAccount value)
public PatchServiceAccountRequest.Builder setServiceAccount(ServiceAccount value)
.google.iam.admin.v1.ServiceAccount service_account = 1;
setServiceAccount(ServiceAccount.Builder builderForValue)
public PatchServiceAccountRequest.Builder setServiceAccount(ServiceAccount.Builder builderForValue)
.google.iam.admin.v1.ServiceAccount service_account = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchServiceAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public PatchServiceAccountRequest.Builder setUpdateMask(FieldMask value)
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public PatchServiceAccountRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
.google.protobuf.FieldMask update_mask = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|