- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.5
- 1.3.1
- 1.2.10
public static final class AccessLevel.Builder extends GeneratedMessageV3.Builder<AccessLevel.Builder> implements AccessLevelOrBuilder
An AccessLevel
is a label that can be applied to requests to Google Cloud
services, along with a list of requirements necessary for the label to be
applied.
Protobuf type google.identity.accesscontextmanager.v1.AccessLevel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AccessLevel.BuilderImplements
AccessLevelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessLevel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
build()
public AccessLevel build()
Returns | |
---|---|
Type | Description |
AccessLevel |
buildPartial()
public AccessLevel buildPartial()
Returns | |
---|---|
Type | Description |
AccessLevel |
clear()
public AccessLevel.Builder clear()
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearBasic()
public AccessLevel.Builder clearBasic()
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearCreateTime()
public AccessLevel.Builder clearCreateTime()
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearCustom()
public AccessLevel.Builder clearCustom()
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearDescription()
public AccessLevel.Builder clearDescription()
Description of the AccessLevel
and its use. Does not affect behavior.
string description = 3;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AccessLevel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearLevel()
public AccessLevel.Builder clearLevel()
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearName()
public AccessLevel.Builder clearName()
Required. Resource name for the Access Level. The short_name
component
must begin with a letter and only include alphanumeric and '_'. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}
. The maximum
length of the access_level
component is 50 characters.
string name = 1;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessLevel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clearTitle()
public AccessLevel.Builder clearTitle()
Human readable title. Must be unique within the Policy.
string title = 2;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
clearUpdateTime()
public AccessLevel.Builder clearUpdateTime()
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
clone()
public AccessLevel.Builder clone()
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
getBasic()
public BasicLevel getBasic()
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Returns | |
---|---|
Type | Description |
BasicLevel | The basic. |
getBasicBuilder()
public BasicLevel.Builder getBasicBuilder()
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Returns | |
---|---|
Type | Description |
BasicLevel.Builder |
getBasicOrBuilder()
public BasicLevelOrBuilder getBasicOrBuilder()
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Returns | |
---|---|
Type | Description |
BasicLevelOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getCustom()
public CustomLevel getCustom()
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Returns | |
---|---|
Type | Description |
CustomLevel | The custom. |
getCustomBuilder()
public CustomLevel.Builder getCustomBuilder()
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Returns | |
---|---|
Type | Description |
CustomLevel.Builder |
getCustomOrBuilder()
public CustomLevelOrBuilder getCustomOrBuilder()
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Returns | |
---|---|
Type | Description |
CustomLevelOrBuilder |
getDefaultInstanceForType()
public AccessLevel getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AccessLevel |
getDescription()
public String getDescription()
Description of the AccessLevel
and its use. Does not affect behavior.
string description = 3;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the AccessLevel
and its use. Does not affect behavior.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLevelCase()
public AccessLevel.LevelCase getLevelCase()
Returns | |
---|---|
Type | Description |
AccessLevel.LevelCase |
getName()
public String getName()
Required. Resource name for the Access Level. The short_name
component
must begin with a letter and only include alphanumeric and '_'. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}
. The maximum
length of the access_level
component is 50 characters.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Resource name for the Access Level. The short_name
component
must begin with a letter and only include alphanumeric and '_'. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}
. The maximum
length of the access_level
component is 50 characters.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getTitle()
public String getTitle()
Human readable title. Must be unique within the Policy.
string title = 2;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Human readable title. Must be unique within the Policy.
string title = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasBasic()
public boolean hasBasic()
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the basic field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasCustom()
public boolean hasCustom()
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the custom field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBasic(BasicLevel value)
public AccessLevel.Builder mergeBasic(BasicLevel value)
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Parameter | |
---|---|
Name | Description |
value | BasicLevel |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
mergeCreateTime(Timestamp value)
public AccessLevel.Builder mergeCreateTime(Timestamp value)
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
mergeCustom(CustomLevel value)
public AccessLevel.Builder mergeCustom(CustomLevel value)
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Parameter | |
---|---|
Name | Description |
value | CustomLevel |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
mergeFrom(AccessLevel other)
public AccessLevel.Builder mergeFrom(AccessLevel other)
Parameter | |
---|---|
Name | Description |
other | AccessLevel |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessLevel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AccessLevel.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
mergeUpdateTime(Timestamp value)
public AccessLevel.Builder mergeUpdateTime(Timestamp value)
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setBasic(BasicLevel value)
public AccessLevel.Builder setBasic(BasicLevel value)
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Parameter | |
---|---|
Name | Description |
value | BasicLevel |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setBasic(BasicLevel.Builder builderForValue)
public AccessLevel.Builder setBasic(BasicLevel.Builder builderForValue)
A BasicLevel
composed of Conditions
.
.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | BasicLevel.Builder |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setCreateTime(Timestamp value)
public AccessLevel.Builder setCreateTime(Timestamp value)
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public AccessLevel.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time the AccessLevel
was created in UTC.
.google.protobuf.Timestamp create_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setCustom(CustomLevel value)
public AccessLevel.Builder setCustom(CustomLevel value)
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Parameter | |
---|---|
Name | Description |
value | CustomLevel |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setCustom(CustomLevel.Builder builderForValue)
public AccessLevel.Builder setCustom(CustomLevel.Builder builderForValue)
A CustomLevel
written in the Common Expression Language.
.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | CustomLevel.Builder |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setDescription(String value)
public AccessLevel.Builder setDescription(String value)
Description of the AccessLevel
and its use. Does not affect behavior.
string description = 3;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public AccessLevel.Builder setDescriptionBytes(ByteString value)
Description of the AccessLevel
and its use. Does not affect behavior.
string description = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AccessLevel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setName(String value)
public AccessLevel.Builder setName(String value)
Required. Resource name for the Access Level. The short_name
component
must begin with a letter and only include alphanumeric and '_'. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}
. The maximum
length of the access_level
component is 50 characters.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AccessLevel.Builder setNameBytes(ByteString value)
Required. Resource name for the Access Level. The short_name
component
must begin with a letter and only include alphanumeric and '_'. Format:
accessPolicies/{access_policy}/accessLevels/{access_level}
. The maximum
length of the access_level
component is 50 characters.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessLevel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setTitle(String value)
public AccessLevel.Builder setTitle(String value)
Human readable title. Must be unique within the Policy.
string title = 2;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public AccessLevel.Builder setTitleBytes(ByteString value)
Human readable title. Must be unique within the Policy.
string title = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessLevel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setUpdateTime(Timestamp value)
public AccessLevel.Builder setUpdateTime(Timestamp value)
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public AccessLevel.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time the AccessLevel
was updated in UTC.
.google.protobuf.Timestamp update_time = 7;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
AccessLevel.Builder |