public static final class CopyLogEntriesRequest.Builder extends GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder> implements CopyLogEntriesRequestOrBuilderThe 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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CopyLogEntriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|
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. |
clearField(Descriptors.FieldDescriptor field)
public CopyLogEntriesRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| 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];
| 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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CopyLogEntriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|
clone()
public CopyLogEntriesRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|
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 GeneratedMessageV3.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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CopyLogEntriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| 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. |
setField(Descriptors.FieldDescriptor field, Object value)
public CopyLogEntriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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];
| 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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CopyLogEntriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CopyLogEntriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CopyLogEntriesRequest.Builder |
|