public static final class Realm.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder> implements RealmOrBuilder
A realm resource.Protobuf type
google.cloud.gaming.v1.Realm| Modifier and Type | Method and Description |
|---|---|
Realm.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Realm |
build() |
Realm |
buildPartial() |
Realm.Builder |
clear() |
Realm.Builder |
clearCreateTime()
Output only.
|
Realm.Builder |
clearDescription()
Human readable description of the realm.
|
Realm.Builder |
clearEtag()
ETag of the resource.
|
Realm.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Realm.Builder |
clearLabels() |
Realm.Builder |
clearName()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
Realm.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Realm.Builder |
clearTimeZone()
Required.
|
Realm.Builder |
clearUpdateTime()
Output only.
|
Realm.Builder |
clone() |
boolean |
containsLabels(String key)
The labels associated with this realm.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Realm |
getDefaultInstanceForType() |
String |
getDescription()
Human readable description of the realm.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Human readable description of the realm.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
ETag of the resource.
|
com.google.protobuf.ByteString |
getEtagBytes()
ETag of the resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with this realm.
|
Map<String,String> |
getLabelsMap()
The labels associated with this realm.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with this realm.
|
String |
getLabelsOrThrow(String key)
The labels associated with this realm.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
String |
getTimeZone()
Required.
|
com.google.protobuf.ByteString |
getTimeZoneBytes()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Realm.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Realm.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Realm.Builder |
mergeFrom(com.google.protobuf.Message other) |
Realm.Builder |
mergeFrom(Realm other) |
Realm.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Realm.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Realm.Builder |
putAllLabels(Map<String,String> values)
The labels associated with this realm.
|
Realm.Builder |
putLabels(String key,
String value)
The labels associated with this realm.
|
Realm.Builder |
removeLabels(String key)
The labels associated with this realm.
|
Realm.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Realm.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Realm.Builder |
setDescription(String value)
Human readable description of the realm.
|
Realm.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Human readable description of the realm.
|
Realm.Builder |
setEtag(String value)
ETag of the resource.
|
Realm.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
ETag of the resource.
|
Realm.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Realm.Builder |
setName(String value)
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
Realm.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
Realm.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Realm.Builder |
setTimeZone(String value)
Required.
|
Realm.Builder |
setTimeZoneBytes(com.google.protobuf.ByteString value)
Required.
|
Realm.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Realm.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Realm.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Realm build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Realm buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Realm.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Realm.Builder>public Realm.Builder mergeFrom(Realm other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Realm.Builder>IOExceptionpublic String getName()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;getName in interface RealmOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;getNameBytes in interface RealmOrBuilderpublic Realm.Builder setName(String value)
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;value - The name to set.public Realm.Builder clearName()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;public Realm.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;value - The bytes for name to set.public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface RealmOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface RealmOrBuilderpublic Realm.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface RealmOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface RealmOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface RealmOrBuilderpublic Realm.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface RealmOrBuilderpublic int getLabelsCount()
RealmOrBuilderThe labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsCount in interface RealmOrBuilderpublic boolean containsLabels(String key)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;containsLabels in interface RealmOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface RealmOrBuilderpublic Map<String,String> getLabelsMap()
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsMap in interface RealmOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrDefault in interface RealmOrBuilderpublic String getLabelsOrThrow(String key)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrThrow in interface RealmOrBuilderpublic Realm.Builder clearLabels()
public Realm.Builder removeLabels(String key)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public Realm.Builder putLabels(String key, String value)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;public Realm.Builder putAllLabels(Map<String,String> values)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;public String getTimeZone()
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];getTimeZone in interface RealmOrBuilderpublic com.google.protobuf.ByteString getTimeZoneBytes()
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];getTimeZoneBytes in interface RealmOrBuilderpublic Realm.Builder setTimeZone(String value)
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];value - The timeZone to set.public Realm.Builder clearTimeZone()
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];public Realm.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];value - The bytes for timeZone to set.public String getEtag()
ETag of the resource.
string etag = 7;getEtag in interface RealmOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
ETag of the resource.
string etag = 7;getEtagBytes in interface RealmOrBuilderpublic Realm.Builder setEtag(String value)
ETag of the resource.
string etag = 7;value - The etag to set.public Realm.Builder clearEtag()
ETag of the resource.
string etag = 7;public Realm.Builder setEtagBytes(com.google.protobuf.ByteString value)
ETag of the resource.
string etag = 7;value - The bytes for etag to set.public String getDescription()
Human readable description of the realm.
string description = 8;getDescription in interface RealmOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Human readable description of the realm.
string description = 8;getDescriptionBytes in interface RealmOrBuilderpublic Realm.Builder setDescription(String value)
Human readable description of the realm.
string description = 8;value - The description to set.public Realm.Builder clearDescription()
Human readable description of the realm.
string description = 8;public Realm.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Human readable description of the realm.
string description = 8;value - The bytes for description to set.public final Realm.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>public final Realm.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Realm.Builder>Copyright © 2023 Google LLC. All rights reserved.