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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addGuestPoliciesBuilder()
public GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
addGuestPoliciesBuilder(int index)
public GuestPolicies.GuestPolicy.Builder addGuestPoliciesBuilder(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.ListGuestPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GuestPolicies.ListGuestPoliciesResponse build()
buildPartial()
public GuestPolicies.ListGuestPoliciesResponse buildPartial()
clear()
public GuestPolicies.ListGuestPoliciesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.ListGuestPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGuestPolicies()
public GuestPolicies.ListGuestPoliciesResponse.Builder clearGuestPolicies()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.ListGuestPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GuestPolicies.ListGuestPoliciesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public GuestPolicies.ListGuestPoliciesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGuestPolicies(int index)
public GuestPolicies.GuestPolicy getGuestPolicies(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter |
Name |
Description |
index |
int
|
getGuestPoliciesBuilder(int index)
public GuestPolicies.GuestPolicy.Builder getGuestPoliciesBuilder(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter |
Name |
Description |
index |
int
|
getGuestPoliciesBuilderList()
public List<GuestPolicies.GuestPolicy.Builder> getGuestPoliciesBuilderList()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
getGuestPoliciesCount()
public int getGuestPoliciesCount()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Returns |
Type |
Description |
int |
|
getGuestPoliciesList()
public List<GuestPolicies.GuestPolicy> getGuestPoliciesList()
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
getGuestPoliciesOrBuilder(int index)
public GuestPolicies.GuestPolicyOrBuilder getGuestPoliciesOrBuilder(int index)
The list of GuestPolicies.
repeated .google.cloud.osconfig.v1beta.GuestPolicy guest_policies = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GuestPolicies.ListGuestPoliciesResponse other)
public GuestPolicies.ListGuestPoliciesResponse.Builder mergeFrom(GuestPolicies.ListGuestPoliciesResponse other)
public GuestPolicies.ListGuestPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GuestPolicies.ListGuestPoliciesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.ListGuestPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.ListGuestPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.ListGuestPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides