- 0.54.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.6
- 0.5.13
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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The names to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The names to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the names to add. |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
build()
public BatchGetSettingsRequest build()
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest |
buildPartial()
public BatchGetSettingsRequest buildPartial()
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest |
clear()
public BatchGetSettingsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchGetSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder | This builder for chaining. |
clone()
public BatchGetSettingsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
getDefaultInstanceForType()
public BatchGetSettingsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BatchGetSettingsRequest other)
public BatchGetSettingsRequest.Builder mergeFrom(BatchGetSettingsRequest other)
Parameter | |
---|---|
Name | Description |
other | BatchGetSettingsRequest |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchGetSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BatchGetSettingsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The names to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchGetSettingsRequest.Builder |