Class ListComponentsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
- com.google.cloud.securitycenter.settings.v1beta1.ListComponentsResponse.Builder
-
- All Implemented Interfaces:
ListComponentsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListComponentsResponse
public static final class ListComponentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder> implements ListComponentsResponseOrBuilder
Response message for ListComponents.
Protobuf typegoogle.cloud.securitycenter.settings.v1beta1.ListComponentsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListComponentsResponse.Builder
addAllComponents(Iterable<String> values)
The components from the specified organization.ListComponentsResponse.Builder
addComponents(String value)
The components from the specified organization.ListComponentsResponse.Builder
addComponentsBytes(com.google.protobuf.ByteString value)
The components from the specified organization.ListComponentsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListComponentsResponse
build()
ListComponentsResponse
buildPartial()
ListComponentsResponse.Builder
clear()
ListComponentsResponse.Builder
clearComponents()
The components from the specified organization.ListComponentsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListComponentsResponse.Builder
clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.ListComponentsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListComponentsResponse.Builder
clone()
String
getComponents(int index)
The components from the specified organization.com.google.protobuf.ByteString
getComponentsBytes(int index)
The components from the specified organization.int
getComponentsCount()
The components from the specified organization.com.google.protobuf.ProtocolStringList
getComponentsList()
The components from the specified organization.ListComponentsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListComponentsResponse.Builder
mergeFrom(ListComponentsResponse other)
ListComponentsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListComponentsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListComponentsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListComponentsResponse.Builder
setComponents(int index, String value)
The components from the specified organization.ListComponentsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListComponentsResponse.Builder
setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page.ListComponentsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page.ListComponentsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListComponentsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
clear
public ListComponentsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
getDefaultInstanceForType
public ListComponentsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListComponentsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListComponentsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListComponentsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
setField
public ListComponentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
clearField
public ListComponentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
clearOneof
public ListComponentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
setRepeatedField
public ListComponentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
addRepeatedField
public ListComponentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
mergeFrom
public ListComponentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListComponentsResponse.Builder>
-
mergeFrom
public ListComponentsResponse.Builder mergeFrom(ListComponentsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
mergeFrom
public ListComponentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListComponentsResponse.Builder>
- Throws:
IOException
-
getComponentsList
public com.google.protobuf.ProtocolStringList getComponentsList()
The components from the specified organization.
repeated string components = 1;
- Specified by:
getComponentsList
in interfaceListComponentsResponseOrBuilder
- Returns:
- A list containing the components.
-
getComponentsCount
public int getComponentsCount()
The components from the specified organization.
repeated string components = 1;
- Specified by:
getComponentsCount
in interfaceListComponentsResponseOrBuilder
- Returns:
- The count of components.
-
getComponents
public String getComponents(int index)
The components from the specified organization.
repeated string components = 1;
- Specified by:
getComponents
in interfaceListComponentsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The components at the given index.
-
getComponentsBytes
public com.google.protobuf.ByteString getComponentsBytes(int index)
The components from the specified organization.
repeated string components = 1;
- Specified by:
getComponentsBytes
in interfaceListComponentsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the components at the given index.
-
setComponents
public ListComponentsResponse.Builder setComponents(int index, String value)
The components from the specified organization.
repeated string components = 1;
- Parameters:
index
- The index to set the value at.value
- The components to set.- Returns:
- This builder for chaining.
-
addComponents
public ListComponentsResponse.Builder addComponents(String value)
The components from the specified organization.
repeated string components = 1;
- Parameters:
value
- The components to add.- Returns:
- This builder for chaining.
-
addAllComponents
public ListComponentsResponse.Builder addAllComponents(Iterable<String> values)
The components from the specified organization.
repeated string components = 1;
- Parameters:
values
- The components to add.- Returns:
- This builder for chaining.
-
clearComponents
public ListComponentsResponse.Builder clearComponents()
The components from the specified organization.
repeated string components = 1;
- Returns:
- This builder for chaining.
-
addComponentsBytes
public ListComponentsResponse.Builder addComponentsBytes(com.google.protobuf.ByteString value)
The components from the specified organization.
repeated string components = 1;
- Parameters:
value
- The bytes of the components to add.- Returns:
- This builder for chaining.
-
getNextPageToken
public String 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:
getNextPageToken
in interfaceListComponentsResponseOrBuilder
- 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:
getNextPageTokenBytes
in interfaceListComponentsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListComponentsResponse.Builder setNextPageToken(String value)
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
public ListComponentsResponse.Builder 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
public ListComponentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final ListComponentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
mergeUnknownFields
public final ListComponentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListComponentsResponse.Builder>
-
-