- 0.68.0 (latest)
- 0.67.0
- 0.65.0
- 0.63.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Identity.Builder extends GeneratedMessage.Builder<Identity.Builder> implements IdentityOrBuilderIdentity lets the user provide the type of identity to use, and outputs the identity string that can be used for IAM policy changes.
Protobuf type google.cloud.storageinsights.v1.Identity
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Identity.BuilderImplements
IdentityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Identity build()| Returns | |
|---|---|
| Type | Description |
Identity |
|
buildPartial()
public Identity buildPartial()| Returns | |
|---|---|
| Type | Description |
Identity |
|
clear()
public Identity.Builder clear()| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
|
clearName()
public Identity.Builder clearName()Output only. Name of the identity.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
This builder for chaining. |
clearType()
public Identity.Builder clearType()Type of identity to use for the datasetConfig.
.google.cloud.storageinsights.v1.Identity.IdentityType type = 2;
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Identity getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Identity |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Output only. Name of the identity.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. Name of the identity.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public Identity.IdentityType getType()Type of identity to use for the datasetConfig.
.google.cloud.storageinsights.v1.Identity.IdentityType type = 2;
| Returns | |
|---|---|
| Type | Description |
Identity.IdentityType |
The type. |
getTypeValue()
public int getTypeValue()Type of identity to use for the datasetConfig.
.google.cloud.storageinsights.v1.Identity.IdentityType type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Identity other)
public Identity.Builder mergeFrom(Identity other)| Parameter | |
|---|---|
| Name | Description |
other |
Identity |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Identity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Identity.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
|
setName(String value)
public Identity.Builder setName(String value)Output only. Name of the identity.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Identity.Builder setNameBytes(ByteString value)Output only. Name of the identity.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
This builder for chaining. |
setType(Identity.IdentityType value)
public Identity.Builder setType(Identity.IdentityType value)Type of identity to use for the datasetConfig.
.google.cloud.storageinsights.v1.Identity.IdentityType type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Identity.IdentityTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
This builder for chaining. |
setTypeValue(int value)
public Identity.Builder setTypeValue(int value)Type of identity to use for the datasetConfig.
.google.cloud.storageinsights.v1.Identity.IdentityType type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Identity.Builder |
This builder for chaining. |