Class ListViolationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListViolationsResponse.Builder>
com.google.cloud.cloudcontrolspartner.v1.ListViolationsResponse.Builder
- All Implemented Interfaces:
ListViolationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListViolationsResponse
public static final class ListViolationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListViolationsResponse.Builder>
implements ListViolationsResponseOrBuilder
Response message for list customer violation requestsProtobuf type
google.cloud.cloudcontrolspartner.v1.ListViolationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnreachable(Iterable<String> values) Workloads that could not be reached due to permission errors or any other error.addAllViolations(Iterable<? extends Violation> values) List of violationaddUnreachable(String value) Workloads that could not be reached due to permission errors or any other error.addUnreachableBytes(com.google.protobuf.ByteString value) Workloads that could not be reached due to permission errors or any other error.addViolations(int index, Violation value) List of violationaddViolations(int index, Violation.Builder builderForValue) List of violationaddViolations(Violation value) List of violationaddViolations(Violation.Builder builderForValue) List of violationList of violationaddViolationsBuilder(int index) List of violationbuild()clear()A token that can be sent as `page_token` to retrieve the next page.Workloads that could not be reached due to permission errors or any other error.List of violationstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token that can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token that can be sent as `page_token` to retrieve the next page.getUnreachable(int index) Workloads that could not be reached due to permission errors or any other error.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Workloads that could not be reached due to permission errors or any other error.intWorkloads that could not be reached due to permission errors or any other error.com.google.protobuf.ProtocolStringListWorkloads that could not be reached due to permission errors or any other error.getViolations(int index) List of violationgetViolationsBuilder(int index) List of violationList of violationintList of violationList of violationgetViolationsOrBuilder(int index) List of violationList<? extends ViolationOrBuilder>List of violationprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListViolationsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeViolations(int index) List of violationsetNextPageToken(String value) A token that can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token that can be sent as `page_token` to retrieve the next page.setUnreachable(int index, String value) Workloads that could not be reached due to permission errors or any other error.setViolations(int index, Violation value) List of violationsetViolations(int index, Violation.Builder builderForValue) List of violationMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListViolationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListViolationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListViolationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListViolationsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListViolationsResponse.Builder>
-
mergeFrom
public ListViolationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListViolationsResponse.Builder>- Throws:
IOException
-
getViolationsList
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1;- Specified by:
getViolationsListin interfaceListViolationsResponseOrBuilder
-
getViolationsCount
public int getViolationsCount()List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1;- Specified by:
getViolationsCountin interfaceListViolationsResponseOrBuilder
-
getViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1;- Specified by:
getViolationsin interfaceListViolationsResponseOrBuilder
-
setViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
setViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
addViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
addViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
addViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
addViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
addAllViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
clearViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
removeViolations
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
getViolationsBuilder
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
getViolationsOrBuilder
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1;- Specified by:
getViolationsOrBuilderin interfaceListViolationsResponseOrBuilder
-
getViolationsOrBuilderList
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1;- Specified by:
getViolationsOrBuilderListin interfaceListViolationsResponseOrBuilder
-
addViolationsBuilder
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
addViolationsBuilder
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
getViolationsBuilderList
List of violation
repeated .google.cloud.cloudcontrolspartner.v1.Violation violations = 1; -
getNextPageToken
A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListViolationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListViolationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListViolationsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListViolationsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListViolationsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListViolationsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Workloads that could not be reached due to permission errors or any other error. Ref: https://google.aip.dev/217
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-