public static final class GuestPolicies.ListGuestPoliciesResponse.Builder extends GeneratedMessageV3.Builder<GuestPolicies.ListGuestPoliciesResponse.Builder> implements GuestPolicies.ListGuestPoliciesResponseOrBuilder
A response message for listing guest policies.
Protobuf type google.cloud.osconfig.v1beta.ListGuestPoliciesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllGuestPolicies(Iterable<? extends GuestPolicies.GuestPolicy> values)
public GuestPolicies.ListGuestPoliciesResponse.Builder addAllGuestPolicies(Iterable<? extends GuestPolicies.GuestPolicy> values)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicy>
|
Returns
addGuestPolicies(GuestPolicies.GuestPolicy value)
public GuestPolicies.ListGuestPoliciesResponse.Builder addGuestPolicies(GuestPolicies.GuestPolicy value)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
addGuestPolicies(GuestPolicies.GuestPolicy.Builder builderForValue)
public GuestPolicies.ListGuestPoliciesResponse.Builder addGuestPolicies(GuestPolicies.GuestPolicy.Builder builderForValue)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
addGuestPolicies(int index, GuestPolicies.GuestPolicy value)
public GuestPolicies.ListGuestPoliciesResponse.Builder addGuestPolicies(int index, GuestPolicies.GuestPolicy value)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameters
Returns
addGuestPolicies(int index, GuestPolicies.GuestPolicy.Builder builderForValue)
public GuestPolicies.ListGuestPoliciesResponse.Builder addGuestPolicies(int index, GuestPolicies.GuestPolicy.Builder builderForValue)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameters
Returns
addGuestPoliciesBuilder()
public GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns
addGuestPoliciesBuilder(int index)
public GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.ListGuestPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GuestPolicies.ListGuestPoliciesResponse build()
Returns
buildPartial()
public GuestPolicies.ListGuestPoliciesResponse buildPartial()
Returns
clear()
public GuestPolicies.ListGuestPoliciesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.ListGuestPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGuestPolicies()
public GuestPolicies.ListGuestPoliciesResponse.Builder clearGuestPolicies()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns
clearNextPageToken()
public GuestPolicies.ListGuestPoliciesResponse.Builder clearNextPageToken()
A pagination token that can be used to get the next page
of guest policies.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.ListGuestPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GuestPolicies.ListGuestPoliciesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GuestPolicies.ListGuestPoliciesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGuestPolicies(int index)
public GuestPolicies.GuestPolicy getGuestPolicies(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
getGuestPoliciesBuilder(int index)
public GuestPolicies.GuestPolicy.Builder getGuestPoliciesBuilder(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
getGuestPoliciesBuilderList()
public List<GuestPolicies.GuestPolicy.Builder> getGuestPoliciesBuilderList()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns
getGuestPoliciesCount()
public int getGuestPoliciesCount()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns
getGuestPoliciesList()
public List<GuestPolicies.GuestPolicy> getGuestPoliciesList()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns
getGuestPoliciesOrBuilder(int index)
public GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
getGuestPoliciesOrBuilderList()
public List<? extends GuestPolicies.GuestPolicyOrBuilder> getGuestPoliciesOrBuilderList()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns
Type | Description |
List<? extends com.google.cloud.osconfig.v1beta.GuestPolicies.GuestPolicyOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A pagination token that can be used to get the next page
of guest policies.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A pagination token that can be used to get the next page
of guest policies.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GuestPolicies.ListGuestPoliciesResponse other)
public GuestPolicies.ListGuestPoliciesResponse.Builder mergeFrom(GuestPolicies.ListGuestPoliciesResponse other)
Parameter
Returns
public GuestPolicies.ListGuestPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GuestPolicies.ListGuestPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.ListGuestPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeGuestPolicies(int index)
public GuestPolicies.ListGuestPoliciesResponse.Builder removeGuestPolicies(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGuestPolicies(int index, GuestPolicies.GuestPolicy value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setGuestPolicies(int index, GuestPolicies.GuestPolicy value)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameters
Returns
setGuestPolicies(int index, GuestPolicies.GuestPolicy.Builder builderForValue)
public GuestPolicies.ListGuestPoliciesResponse.Builder setGuestPolicies(int index, GuestPolicies.GuestPolicy.Builder builderForValue)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameters
Returns
setNextPageToken(String value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setNextPageToken(String value)
A pagination token that can be used to get the next page
of guest policies.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)
A pagination token that can be used to get the next page
of guest policies.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.ListGuestPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides