public final class Realm extends GeneratedMessageV3 implements RealmOrBuilder
A Realm resource.Protobuf type
google.cloud.gaming.v1alpha.Realm
Modifier and Type | Class and Description |
---|---|
static class |
Realm.Builder
A Realm resource.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TIME_ZONE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 RealmOrBuilder
public 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 RealmOrBuilder
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface RealmOrBuilder
public Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface RealmOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface RealmOrBuilder
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime
in interface RealmOrBuilder
public Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime
in interface RealmOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder
in interface RealmOrBuilder
public int getLabelsCount()
RealmOrBuilder
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;
getLabelsCount
in interface RealmOrBuilder
public 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 RealmOrBuilder
public 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 RealmOrBuilder
public 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 RealmOrBuilder
public 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 RealmOrBuilder
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 RealmOrBuilder
public 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 RealmOrBuilder
public String getEtag()
ETag of the resource.
string etag = 7;
getEtag
in interface RealmOrBuilder
public ByteString getEtagBytes()
ETag of the resource.
string etag = 7;
getEtagBytes
in interface RealmOrBuilder
public String getDescription()
Human readable description of the realm.
string description = 8;
getDescription
in interface RealmOrBuilder
public ByteString getDescriptionBytes()
Human readable description of the realm.
string description = 8;
getDescriptionBytes
in interface RealmOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Realm parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Realm parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Realm parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Realm parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Realm parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Realm parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Realm parseFrom(InputStream input) throws IOException
IOException
public static Realm parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Realm parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Realm parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Realm parseFrom(CodedInputStream input) throws IOException
IOException
public static Realm parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Realm.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Realm.Builder newBuilder()
public static Realm.Builder newBuilder(Realm prototype)
public Realm.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Realm.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Realm getDefaultInstance()
public Parser<Realm> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Realm getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2020 Google LLC. All rights reserved.