Package com.google.protobuf
Class FieldMask.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<FieldMask,FieldMask.Builder>
-
- com.google.protobuf.FieldMask.Builder
-
- All Implemented Interfaces:
FieldMaskOrBuilder
,MessageLite.Builder
,MessageLiteOrBuilder
,java.lang.Cloneable
- Enclosing class:
- FieldMask
public static final class FieldMask.Builder extends GeneratedMessageLite.Builder<FieldMask,FieldMask.Builder> implements FieldMaskOrBuilder
Protobuf typegoogle.protobuf.FieldMask
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldMask.Builder
addAllPaths(java.lang.Iterable<java.lang.String> values)
repeated string paths = 1 [json_name = "paths"];
FieldMask.Builder
addPaths(java.lang.String value)
repeated string paths = 1 [json_name = "paths"];
FieldMask.Builder
addPathsBytes(ByteString value)
repeated string paths = 1 [json_name = "paths"];
FieldMask.Builder
clearPaths()
repeated string paths = 1 [json_name = "paths"];
java.lang.String
getPaths(int index)
repeated string paths = 1 [json_name = "paths"];
ByteString
getPathsBytes(int index)
repeated string paths = 1 [json_name = "paths"];
int
getPathsCount()
repeated string paths = 1 [json_name = "paths"];
java.util.List<java.lang.String>
getPathsList()
repeated string paths = 1 [json_name = "paths"];
FieldMask.Builder
setPaths(int index, java.lang.String value)
repeated string paths = 1 [json_name = "paths"];
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
getPathsList
public java.util.List<java.lang.String> getPathsList()
repeated string paths = 1 [json_name = "paths"];
- Specified by:
getPathsList
in interfaceFieldMaskOrBuilder
- Returns:
- A list containing the paths.
-
getPathsCount
public int getPathsCount()
repeated string paths = 1 [json_name = "paths"];
- Specified by:
getPathsCount
in interfaceFieldMaskOrBuilder
- Returns:
- The count of paths.
-
getPaths
public java.lang.String getPaths(int index)
repeated string paths = 1 [json_name = "paths"];
- Specified by:
getPaths
in interfaceFieldMaskOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
public ByteString getPathsBytes(int index)
repeated string paths = 1 [json_name = "paths"];
- Specified by:
getPathsBytes
in interfaceFieldMaskOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-
setPaths
public FieldMask.Builder setPaths(int index, java.lang.String value)
repeated string paths = 1 [json_name = "paths"];
- Parameters:
index
- The index to set the value at.value
- The paths to set.- Returns:
- This builder for chaining.
-
addPaths
public FieldMask.Builder addPaths(java.lang.String value)
repeated string paths = 1 [json_name = "paths"];
- Parameters:
value
- The paths to add.- Returns:
- This builder for chaining.
-
addAllPaths
public FieldMask.Builder addAllPaths(java.lang.Iterable<java.lang.String> values)
repeated string paths = 1 [json_name = "paths"];
- Parameters:
values
- The paths to add.- Returns:
- This builder for chaining.
-
clearPaths
public FieldMask.Builder clearPaths()
repeated string paths = 1 [json_name = "paths"];
- Returns:
- This builder for chaining.
-
addPathsBytes
public FieldMask.Builder addPathsBytes(ByteString value)
repeated string paths = 1 [json_name = "paths"];
- Parameters:
value
- The bytes of the paths to add.- Returns:
- This builder for chaining.
-
-