public static final class CopyLogEntriesRequest.Builder extends GeneratedMessage.Builder<CopyLogEntriesRequest.Builder> implements CopyLogEntriesRequestOrBuilderThe parameters to CopyLogEntries.
Protobuf type google.logging.v2.CopyLogEntriesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CopyLogEntriesRequest.BuilderImplements
CopyLogEntriesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CopyLogEntriesRequest build()| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest |
|
buildPartial()
public CopyLogEntriesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest |
|
clear()
public CopyLogEntriesRequest.Builder clear()| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CopyLogEntriesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestination()
public String getDestination()Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CopyLogEntriesRequest other)
public CopyLogEntriesRequest.Builder mergeFrom(CopyLogEntriesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CopyLogEntriesRequest |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CopyLogEntriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CopyLogEntriesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destination to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destination to set. |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
This builder for chaining. |