public static final class CopyLogEntriesRequest.Builder extends GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder> implements CopyLogEntriesRequestOrBuilder
The parameters to CopyLogEntries.
Protobuf type google.logging.v2.CopyLogEntriesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CopyLogEntriesRequest.BuilderImplements
CopyLogEntriesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CopyLogEntriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CopyLogEntriesRequest.Builder |
build()
public CopyLogEntriesRequest build()
Type | Description |
CopyLogEntriesRequest |
buildPartial()
public CopyLogEntriesRequest buildPartial()
Type | Description |
CopyLogEntriesRequest |
clear()
public CopyLogEntriesRequest.Builder clear()
Type | Description |
CopyLogEntriesRequest.Builder |
clearDestination()
public CopyLogEntriesRequest.Builder clearDestination()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CopyLogEntriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CopyLogEntriesRequest.Builder |
clearFilter()
public CopyLogEntriesRequest.Builder clearFilter()
Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
clearName()
public CopyLogEntriesRequest.Builder clearName()
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CopyLogEntriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CopyLogEntriesRequest.Builder |
clone()
public CopyLogEntriesRequest.Builder clone()
Type | Description |
CopyLogEntriesRequest.Builder |
getDefaultInstanceForType()
public CopyLogEntriesRequest getDefaultInstanceForType()
Type | Description |
CopyLogEntriesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDestination()
public String getDestination()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The destination. |
getDestinationBytes()
public ByteString getDestinationBytes()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for destination. |
getFilter()
public String getFilter()
Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The filter. |
getFilterBytes()
public ByteString getFilterBytes()
Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for filter. |
getName()
public String getName()
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CopyLogEntriesRequest other)
public CopyLogEntriesRequest.Builder mergeFrom(CopyLogEntriesRequest other)
Name | Description |
other | CopyLogEntriesRequest |
Type | Description |
CopyLogEntriesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CopyLogEntriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CopyLogEntriesRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CopyLogEntriesRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CopyLogEntriesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CopyLogEntriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CopyLogEntriesRequest.Builder |
setDestination(String value)
public CopyLogEntriesRequest.Builder setDestination(String value)
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The destination to set. |
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
setDestinationBytes(ByteString value)
public CopyLogEntriesRequest.Builder setDestinationBytes(ByteString value)
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for destination to set. |
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CopyLogEntriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CopyLogEntriesRequest.Builder |
setFilter(String value)
public CopyLogEntriesRequest.Builder setFilter(String value)
Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The filter to set. |
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
setFilterBytes(ByteString value)
public CopyLogEntriesRequest.Builder setFilterBytes(ByteString value)
Optional. A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for filter to set. |
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
setName(String value)
public CopyLogEntriesRequest.Builder setName(String value)
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The name to set. |
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public CopyLogEntriesRequest.Builder setNameBytes(ByteString value)
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
CopyLogEntriesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CopyLogEntriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CopyLogEntriesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CopyLogEntriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CopyLogEntriesRequest.Builder |