public static final class RevokeAuthorizationRequest.Builder extends GeneratedMessage.Builder<RevokeAuthorizationRequest.Builder> implements RevokeAuthorizationRequestOrBuilderRequest message for RevokeAuthorization.
Protobuf type google.cloud.agentidentity.v1.RevokeAuthorizationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RevokeAuthorizationRequest.BuilderImplements
RevokeAuthorizationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RevokeAuthorizationRequest build()| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest |
|
buildPartial()
public RevokeAuthorizationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest |
|
clear()
public RevokeAuthorizationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
|
clearName()
public RevokeAuthorizationRequest.Builder clearName()Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
This builder for chaining. |
clearUserId()
public RevokeAuthorizationRequest.Builder clearUserId()Required. The identity of the user to revoke authorization for.
string user_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RevokeAuthorizationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUserId()
public String getUserId()Required. The identity of the user to revoke authorization for.
string user_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The userId. |
getUserIdBytes()
public ByteString getUserIdBytes()Required. The identity of the user to revoke authorization for.
string user_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for userId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RevokeAuthorizationRequest other)
public RevokeAuthorizationRequest.Builder mergeFrom(RevokeAuthorizationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RevokeAuthorizationRequest |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RevokeAuthorizationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RevokeAuthorizationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
|
setName(String value)
public RevokeAuthorizationRequest.Builder setName(String value)Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RevokeAuthorizationRequest.Builder setNameBytes(ByteString value)Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
This builder for chaining. |
setUserId(String value)
public RevokeAuthorizationRequest.Builder setUserId(String value)Required. The identity of the user to revoke authorization for.
string user_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe userId to set. |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
This builder for chaining. |
setUserIdBytes(ByteString value)
public RevokeAuthorizationRequest.Builder setUserIdBytes(ByteString value)Required. The identity of the user to revoke authorization for.
string user_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for userId to set. |
| Returns | |
|---|---|
| Type | Description |
RevokeAuthorizationRequest.Builder |
This builder for chaining. |