public static final class BatchGetSettingsRequest.Builder extends GeneratedMessageV3.Builder<BatchGetSettingsRequest.Builder> implements BatchGetSettingsRequestOrBuilder
Request message for BatchGetSettings.
Protobuf type google.cloud.securitycenter.settings.v1beta1.BatchGetSettingsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetSettingsRequest.BuilderImplements
BatchGetSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllNames(Iterable<String> values)
public BatchGetSettingsRequest.Builder addAllNames(Iterable<String> values)
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Name | Description |
values | Iterable<String> The names to add. |
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
addNames(String value)
public BatchGetSettingsRequest.Builder addNames(String value)
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Name | Description |
value | String The names to add. |
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
addNamesBytes(ByteString value)
public BatchGetSettingsRequest.Builder addNamesBytes(ByteString value)
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Name | Description |
value | ByteString The bytes of the names to add. |
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchGetSettingsRequest.Builder |
build()
public BatchGetSettingsRequest build()
Type | Description |
BatchGetSettingsRequest |
buildPartial()
public BatchGetSettingsRequest buildPartial()
Type | Description |
BatchGetSettingsRequest |
clear()
public BatchGetSettingsRequest.Builder clear()
Type | Description |
BatchGetSettingsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchGetSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchGetSettingsRequest.Builder |
clearNames()
public BatchGetSettingsRequest.Builder clearNames()
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchGetSettingsRequest.Builder |
clearParent()
public BatchGetSettingsRequest.Builder clearParent()
Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:
organizations/{organization}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
clone()
public BatchGetSettingsRequest.Builder clone()
Type | Description |
BatchGetSettingsRequest.Builder |
getDefaultInstanceForType()
public BatchGetSettingsRequest getDefaultInstanceForType()
Type | Description |
BatchGetSettingsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNames(int index)
public String getNames(int index)
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index)
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount()
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Type | Description |
int | The count of names. |
getNamesList()
public ProtocolStringList getNamesList()
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Type | Description |
ProtocolStringList | A list containing the names. |
getParent()
public String getParent()
Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:
organizations/{organization}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:
organizations/{organization}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BatchGetSettingsRequest other)
public BatchGetSettingsRequest.Builder mergeFrom(BatchGetSettingsRequest other)
Name | Description |
other | BatchGetSettingsRequest |
Type | Description |
BatchGetSettingsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchGetSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchGetSettingsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchGetSettingsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchGetSettingsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchGetSettingsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchGetSettingsRequest.Builder |
setNames(int index, String value)
public BatchGetSettingsRequest.Builder setNames(int index, String value)
The names of the settings to retrieve. A maximum of 1000 settings can be retrieved in a batch. Formats:
organizations/{organization}/settings
folders/{folder}/settings
projects/{project}/settings
projects/{project}/locations/{location}/clusters/{cluster}/settings
projects/{project}/regions/{region}/clusters/{cluster}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/settings
repeated string names = 2;
Name | Description |
index | int The index to set the value at. |
value | String The names to set. |
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
setParent(String value)
public BatchGetSettingsRequest.Builder setParent(String value)
Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:
organizations/{organization}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public BatchGetSettingsRequest.Builder setParentBytes(ByteString value)
Required. The relative resource name of the organization shared by all of the settings being retrieved. Format:
organizations/{organization}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchGetSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchGetSettingsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchGetSettingsRequest.Builder |