public static final class DatastoreV1.Property.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder> implements DatastoreV1.PropertyOrBuilder
api.services.datastore.Property
An entity property.
Modifier and Type | Method and Description |
---|---|
DatastoreV1.Property |
build() |
DatastoreV1.Property |
buildPartial() |
DatastoreV1.Property.Builder |
clear() |
DatastoreV1.Property.Builder |
clearName()
required string name = 1; |
DatastoreV1.Property.Builder |
clearValue()
required .api.services.datastore.Value value = 4; |
DatastoreV1.Property.Builder |
clone() |
DatastoreV1.Property |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
DatastoreV1.Value |
getValue()
required .api.services.datastore.Value value = 4; |
DatastoreV1.Value.Builder |
getValueBuilder()
required .api.services.datastore.Value value = 4; |
DatastoreV1.ValueOrBuilder |
getValueOrBuilder()
required .api.services.datastore.Value value = 4; |
boolean |
hasName()
required string name = 1; |
boolean |
hasValue()
required .api.services.datastore.Value value = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DatastoreV1.Property.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatastoreV1.Property.Builder |
mergeFrom(DatastoreV1.Property other) |
DatastoreV1.Property.Builder |
mergeFrom(com.google.protobuf.Message other) |
DatastoreV1.Property.Builder |
mergeValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4; |
DatastoreV1.Property.Builder |
setName(String value)
required string name = 1; |
DatastoreV1.Property.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required string name = 1; |
DatastoreV1.Property.Builder |
setValue(DatastoreV1.Value.Builder builderForValue)
required .api.services.datastore.Value value = 4; |
DatastoreV1.Property.Builder |
setValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>
public DatastoreV1.Property.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>
public DatastoreV1.Property.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>
public DatastoreV1.Property getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DatastoreV1.Property build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DatastoreV1.Property buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DatastoreV1.Property.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DatastoreV1.Property.Builder>
public DatastoreV1.Property.Builder mergeFrom(DatastoreV1.Property other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>
public DatastoreV1.Property.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DatastoreV1.Property.Builder>
IOException
public boolean hasName()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
hasName
in interface DatastoreV1.PropertyOrBuilder
public String getName()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
getName
in interface DatastoreV1.PropertyOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
getNameBytes
in interface DatastoreV1.PropertyOrBuilder
public DatastoreV1.Property.Builder setName(String value)
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
public DatastoreV1.Property.Builder clearName()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
public DatastoreV1.Property.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
public boolean hasValue()
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
hasValue
in interface DatastoreV1.PropertyOrBuilder
public DatastoreV1.Value getValue()
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
getValue
in interface DatastoreV1.PropertyOrBuilder
public DatastoreV1.Property.Builder setValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Property.Builder setValue(DatastoreV1.Value.Builder builderForValue)
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Property.Builder mergeValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Property.Builder clearValue()
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Value.Builder getValueBuilder()
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.ValueOrBuilder getValueOrBuilder()
required .api.services.datastore.Value value = 4;
The value(s) of the property. Each value can have only one value property populated. For example, you cannot have a values list of <code>{ value: { integerValue: 22, stringValue: "a" } }</code>, but you can have <code>{ value: { listValue: [ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
getValueOrBuilder
in interface DatastoreV1.PropertyOrBuilder
Copyright © 2013. All Rights Reserved.