Class AnalyzeOrgPolicyGovernedContainersResponse.Builder (3.17.0)

public static final class AnalyzeOrgPolicyGovernedContainersResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPolicyGovernedContainersResponse.Builder> implements AnalyzeOrgPolicyGovernedContainersResponseOrBuilder

The response message for AssetService.AnalyzeOrgPolicyGovernedContainers.

Protobuf type google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllGovernedContainers(Iterable<? extends AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> values)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder addAllGovernedContainers(Iterable<? extends AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> values)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer>
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

addGovernedContainers(AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder addGovernedContainers(AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
value AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

addGovernedContainers(AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder addGovernedContainers(AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
builderForValue AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

addGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder addGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameters
Name Description
index int
value AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

addGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder addGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameters
Name Description
index int
builderForValue AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

addGovernedContainersBuilder()

public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addGovernedContainersBuilder()

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder

addGovernedContainersBuilder(int index)

public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addGovernedContainersBuilder(int index)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

build()

public AnalyzeOrgPolicyGovernedContainersResponse build()
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse

buildPartial()

public AnalyzeOrgPolicyGovernedContainersResponse buildPartial()
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse

clear()

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clear()
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

clearConstraint()

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clearConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

clearGovernedContainers()

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clearGovernedContainers()

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

clearNextPageToken()

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clearNextPageToken()

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

string next_page_token = 3;

Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

clone()

public AnalyzeOrgPolicyGovernedContainersResponse.Builder clone()
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

getConstraint()

public AnalyzerOrgPolicyConstraint getConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint

The constraint.

getConstraintBuilder()

public AnalyzerOrgPolicyConstraint.Builder getConstraintBuilder()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Builder

getConstraintOrBuilder()

public AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraintOrBuilder

getDefaultInstanceForType()

public AnalyzeOrgPolicyGovernedContainersResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGovernedContainers(int index)

public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer getGovernedContainers(int index)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer

getGovernedContainersBuilder(int index)

public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder getGovernedContainersBuilder(int index)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder

getGovernedContainersBuilderList()

public List<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder> getGovernedContainersBuilderList()

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Returns
Type Description
List<Builder>

getGovernedContainersCount()

public int getGovernedContainersCount()

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Returns
Type Description
int

getGovernedContainersList()

public List<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer> getGovernedContainersList()

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Returns
Type Description
List<GovernedContainer>

getGovernedContainersOrBuilder(int index)

public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder getGovernedContainersOrBuilder(int index)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder

getGovernedContainersOrBuilderList()

public List<? extends AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder> getGovernedContainersOrBuilderList()

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder>

getNextPageToken()

public String getNextPageToken()

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

hasConstraint()

public boolean hasConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
boolean

Whether the constraint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConstraint(AnalyzerOrgPolicyConstraint value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder mergeConstraint(AnalyzerOrgPolicyConstraint value)

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Parameter
Name Description
value AnalyzerOrgPolicyConstraint
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

mergeFrom(AnalyzeOrgPolicyGovernedContainersResponse other)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder mergeFrom(AnalyzeOrgPolicyGovernedContainersResponse other)
Parameter
Name Description
other AnalyzeOrgPolicyGovernedContainersResponse
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeOrgPolicyGovernedContainersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

removeGovernedContainers(int index)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder removeGovernedContainers(int index)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

setConstraint(AnalyzerOrgPolicyConstraint value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint value)

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Parameter
Name Description
value AnalyzerOrgPolicyConstraint
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue)

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Parameter
Name Description
builderForValue AnalyzerOrgPolicyConstraint.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

setGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer value)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameters
Name Description
index int
value AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

setGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setGovernedContainers(int index, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder builderForValue)

The list of the analyzed governed containers.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;

Parameters
Name Description
index int
builderForValue AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

setNextPageToken(String value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setNextPageToken(String value)

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setNextPageTokenBytes(ByteString value)

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeOrgPolicyGovernedContainersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeOrgPolicyGovernedContainersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeOrgPolicyGovernedContainersResponse.Builder
Overrides