public static final class CopyLogEntriesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder> implements CopyLogEntriesRequestOrBuilder
The parameters to CopyLogEntries.Protobuf type
google.logging.v2.CopyLogEntriesRequest
Modifier and Type | Method and Description |
---|---|
CopyLogEntriesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CopyLogEntriesRequest |
build() |
CopyLogEntriesRequest |
buildPartial() |
CopyLogEntriesRequest.Builder |
clear() |
CopyLogEntriesRequest.Builder |
clearDestination()
Required.
|
CopyLogEntriesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CopyLogEntriesRequest.Builder |
clearFilter()
Optional.
|
CopyLogEntriesRequest.Builder |
clearName()
Required.
|
CopyLogEntriesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CopyLogEntriesRequest.Builder |
clone() |
CopyLogEntriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestination()
Required.
|
com.google.protobuf.ByteString |
getDestinationBytes()
Required.
|
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CopyLogEntriesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CopyLogEntriesRequest.Builder |
mergeFrom(CopyLogEntriesRequest other) |
CopyLogEntriesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CopyLogEntriesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CopyLogEntriesRequest.Builder |
setDestination(String value)
Required.
|
CopyLogEntriesRequest.Builder |
setDestinationBytes(com.google.protobuf.ByteString value)
Required.
|
CopyLogEntriesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CopyLogEntriesRequest.Builder |
setFilter(String value)
Optional.
|
CopyLogEntriesRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Optional.
|
CopyLogEntriesRequest.Builder |
setName(String value)
Required.
|
CopyLogEntriesRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
CopyLogEntriesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CopyLogEntriesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CopyLogEntriesRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CopyLogEntriesRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CopyLogEntriesRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder mergeFrom(CopyLogEntriesRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public CopyLogEntriesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CopyLogEntriesRequest.Builder>
IOException
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];
getName
in interface CopyLogEntriesRequestOrBuilder
public com.google.protobuf.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];
getNameBytes
in interface CopyLogEntriesRequestOrBuilder
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];
value
- The name to set.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];
public CopyLogEntriesRequest.Builder setNameBytes(com.google.protobuf.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];
value
- The bytes for name to set.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];
getFilter
in interface CopyLogEntriesRequestOrBuilder
public com.google.protobuf.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];
getFilterBytes
in interface CopyLogEntriesRequestOrBuilder
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];
value
- The filter to set.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];
public CopyLogEntriesRequest.Builder setFilterBytes(com.google.protobuf.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];
value
- The bytes for filter to set.public String getDestination()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
getDestination
in interface CopyLogEntriesRequestOrBuilder
public com.google.protobuf.ByteString getDestinationBytes()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
getDestinationBytes
in interface CopyLogEntriesRequestOrBuilder
public CopyLogEntriesRequest.Builder setDestination(String value)
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
value
- The destination to set.public CopyLogEntriesRequest.Builder clearDestination()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
public CopyLogEntriesRequest.Builder setDestinationBytes(com.google.protobuf.ByteString value)
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for destination to set.public final CopyLogEntriesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
public final CopyLogEntriesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.