public static final class ChangeLogEntry.Builder extends GeneratedMessage.Builder<ChangeLogEntry.Builder> implements ChangeLogEntryOrBuilderA log entry of a change made to an order.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ChangeLogEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChangeLogEntry.BuilderImplements
ChangeLogEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ChangeLogEntry build()| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry |
|
buildPartial()
public ChangeLogEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry |
|
clear()
public ChangeLogEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
clearLabels()
public ChangeLogEntry.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
clearLog()
public ChangeLogEntry.Builder clearLog()Output only. Content of this log entry.
string log = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public ChangeLogEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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()
public 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.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
mergeFrom(ChangeLogEntry other)
public ChangeLogEntry.Builder mergeFrom(ChangeLogEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
ChangeLogEntry |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChangeLogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChangeLogEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
|
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 |
StringThe log to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for log to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
This builder for chaining. |
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ChangeLogEntry.Builder |
This builder for chaining. |