public static final class Realm.Builder extends GeneratedMessageV3.Builder<Realm.Builder> implements RealmOrBuilder
A Realm resource.Protobuf type
google.cloud.gaming.v1alpha.RealmgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3.Builder<Realm.Builder>protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class GeneratedMessageV3.Builder<Realm.Builder>protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Realm.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Realm.Builder>public Realm getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Realm build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Realm buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Realm.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Realm.Builder>public Realm.Builder mergeFrom(Realm other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Realm.Builder>public Realm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Realm.Builder>IOExceptionpublic String getName()
The resource name of the realm, using the form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;getName in interface RealmOrBuilderpublic ByteString getNameBytes()
The resource name of the realm, using the 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, using the 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, using the form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;public Realm.Builder setNameBytes(ByteString value)
The resource name of the realm, using the 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 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(Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder mergeCreateTime(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 Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 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(Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Realm.Builder setUpdateTime(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(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 Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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 realm-specific policies 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 ByteString getTimeZoneBytes()
Required. Time zone where all realm-specific policies 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 realm-specific policies 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 realm-specific policies 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(ByteString value)
Required. Time zone where all realm-specific policies 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 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(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 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(ByteString value)
Human readable description of the realm.
string description = 8;value - The bytes for description to set.public final Realm.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Realm.Builder>public final Realm.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Realm.Builder>Copyright © 2020 Google LLC. All rights reserved.