public static final class LoggingConfig.Builder extends GeneratedMessageV3.Builder<LoggingConfig.Builder> implements LoggingConfigOrBuilderSpecifies the Cloud Logging behavior.
Protobuf type google.cloud.storagebatchoperations.v1.LoggingConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LoggingConfig.BuilderImplements
LoggingConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLogActionStates(Iterable<? extends LoggingConfig.LoggableActionState> values)
public LoggingConfig.Builder addAllLogActionStates(Iterable<? extends LoggingConfig.LoggableActionState> values)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState>The logActionStates to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addAllLogActionStatesValue(Iterable<Integer> values)
public LoggingConfig.Builder addAllLogActionStatesValue(Iterable<Integer> values)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for logActionStates to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addAllLogActions(Iterable<? extends LoggingConfig.LoggableAction> values)
public LoggingConfig.Builder addAllLogActions(Iterable<? extends LoggingConfig.LoggableAction> values)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction>The logActions to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addAllLogActionsValue(Iterable<Integer> values)
public LoggingConfig.Builder addAllLogActionsValue(Iterable<Integer> values)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for logActions to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addLogActionStates(LoggingConfig.LoggableActionState value)
public LoggingConfig.Builder addLogActionStates(LoggingConfig.LoggableActionState value)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LoggingConfig.LoggableActionStateThe logActionStates to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addLogActionStatesValue(int value)
public LoggingConfig.Builder addLogActionStatesValue(int value)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for logActionStates to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addLogActions(LoggingConfig.LoggableAction value)
public LoggingConfig.Builder addLogActions(LoggingConfig.LoggableAction value)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LoggingConfig.LoggableActionThe logActions to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addLogActionsValue(int value)
public LoggingConfig.Builder addLogActionsValue(int value)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for logActions to add. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
build()
public LoggingConfig build()| Returns | |
|---|---|
| Type | Description |
LoggingConfig |
|
buildPartial()
public LoggingConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
LoggingConfig |
|
clear()
public LoggingConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public LoggingConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
clearLogActionStates()
public LoggingConfig.Builder clearLogActionStates()Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
clearLogActions()
public LoggingConfig.Builder clearLogActions()Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
clone()
public LoggingConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
getDefaultInstanceForType()
public LoggingConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LoggingConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLogActionStates(int index)
public LoggingConfig.LoggableActionState getLogActionStates(int index)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.LoggableActionState |
The logActionStates at the given index. |
getLogActionStatesCount()
public int getLogActionStatesCount()Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of logActionStates. |
getLogActionStatesList()
public List<LoggingConfig.LoggableActionState> getLogActionStatesList()Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<LoggableActionState> |
A list containing the logActionStates. |
getLogActionStatesValue(int index)
public int getLogActionStatesValue(int index)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of logActionStates at the given index. |
getLogActionStatesValueList()
public List<Integer> getLogActionStatesValueList()Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for logActionStates. |
getLogActions(int index)
public LoggingConfig.LoggableAction getLogActions(int index)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.LoggableAction |
The logActions at the given index. |
getLogActionsCount()
public int getLogActionsCount()Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of logActions. |
getLogActionsList()
public List<LoggingConfig.LoggableAction> getLogActionsList()Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<LoggableAction> |
A list containing the logActions. |
getLogActionsValue(int index)
public int getLogActionsValue(int index)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of logActions at the given index. |
getLogActionsValueList()
public List<Integer> getLogActionsValueList()Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for logActions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LoggingConfig other)
public LoggingConfig.Builder mergeFrom(LoggingConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
LoggingConfig |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LoggingConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
setLogActionStates(int index, LoggingConfig.LoggableActionState value)
public LoggingConfig.Builder setLogActionStates(int index, LoggingConfig.LoggableActionState value)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
LoggingConfig.LoggableActionStateThe logActionStates to set. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
setLogActionStatesValue(int index, int value)
public LoggingConfig.Builder setLogActionStatesValue(int index, int value)Required. States in which Action are logged.If empty, no logs are generated.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableActionState log_action_states = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for logActionStates to set. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
setLogActions(int index, LoggingConfig.LoggableAction value)
public LoggingConfig.Builder setLogActions(int index, LoggingConfig.LoggableAction value)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
LoggingConfig.LoggableActionThe logActions to set. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
setLogActionsValue(int index, int value)
public LoggingConfig.Builder setLogActionsValue(int index, int value)Required. Specifies the actions to be logged.
repeated .google.cloud.storagebatchoperations.v1.LoggingConfig.LoggableAction log_actions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for logActions to set. |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
LoggingConfig.Builder |
|