public static final class ChangeLogEntry.Builder extends GeneratedMessageV3.Builder<ChangeLogEntry.Builder> implements ChangeLogEntryOrBuilder
A log entry of a change made to an order.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ChangeLogEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChangeLogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ChangeLogEntry build()
buildPartial()
public ChangeLogEntry buildPartial()
clear()
public ChangeLogEntry.Builder clear()
Overrides
clearCreateTime()
public ChangeLogEntry.Builder clearCreateTime()
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ChangeLogEntry.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLabels()
public ChangeLogEntry.Builder clearLabels()
clearLog()
public ChangeLogEntry.Builder clearLog()
Output only. Content of this log entry.
string log = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearName()
public ChangeLogEntry.Builder clearName()
Identifier. Name of this change log entry.
Format:
projects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
clearOneof(Descriptors.OneofDescriptor oneof)
public ChangeLogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ChangeLogEntry.Builder clone()
Overrides
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ChangeLogEntry getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getLog()
Output only. Content of this log entry.
string log = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The log.
|
getLogBytes()
public ByteString getLogBytes()
Output only. Content of this log entry.
string log = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for log.
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
getName()
Identifier. Name of this change log entry.
Format:
projects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of this change log entry.
Format:
projects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public ChangeLogEntry.Builder mergeCreateTime(Timestamp value)
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(ChangeLogEntry other)
public ChangeLogEntry.Builder mergeFrom(ChangeLogEntry other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChangeLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ChangeLogEntry.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChangeLogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllLabels(Map<String,String> values)
public ChangeLogEntry.Builder putAllLabels(Map<String,String> values)
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
putLabels(String key, String value)
public ChangeLogEntry.Builder putLabels(String key, String value)
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
removeLabels(String key)
public ChangeLogEntry.Builder removeLabels(String key)
Optional. Labels associated with this change log entry as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
setCreateTime(Timestamp value)
public ChangeLogEntry.Builder setCreateTime(Timestamp value)
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCreateTime(Timestamp.Builder builderForValue)
public ChangeLogEntry.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time when this change log entry was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public ChangeLogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLog(String value)
public ChangeLogEntry.Builder setLog(String value)
Output only. Content of this log entry.
string log = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The log to set.
|
setLogBytes(ByteString value)
public ChangeLogEntry.Builder setLogBytes(ByteString value)
Output only. Content of this log entry.
string log = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for log to set.
|
setName(String value)
public ChangeLogEntry.Builder setName(String value)
Identifier. Name of this change log entry.
Format:
projects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public ChangeLogEntry.Builder setNameBytes(ByteString value)
Identifier. Name of this change log entry.
Format:
projects/{project}/locations/{location}/orders/{order}/changeLogEntries/{change_log_entry}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChangeLogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ChangeLogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides