public abstract class Field extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Field.Builder |
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
static Field.Builder |
builder() |
abstract String |
description() |
boolean |
equals(Object o) |
boolean |
hasDescription() |
boolean |
hasFieldNameConflict() |
int |
hashCode() |
boolean |
hasResourceReference() |
abstract boolean |
isContainedInOneof() |
abstract boolean |
isEnum() |
abstract boolean |
isMap() |
abstract boolean |
isMessage() |
abstract boolean |
isProto3Optional() |
abstract boolean |
isRepeated() |
abstract String |
name() |
abstract String |
originalName() |
abstract ResourceReference |
resourceReference() |
abstract Field.Builder |
toBuilder() |
abstract TypeNode |
type() |
public abstract String name()
public abstract String originalName()
public abstract TypeNode type()
public abstract boolean isMessage()
public abstract boolean isEnum()
public abstract boolean isRepeated()
public abstract boolean isMap()
public abstract boolean isContainedInOneof()
public abstract boolean isProto3Optional()
@Nullable public abstract ResourceReference resourceReference()
public boolean hasFieldNameConflict()
public boolean hasDescription()
public boolean hasResourceReference()
public abstract Field.Builder toBuilder()
public static Field.Builder builder()
Copyright © 2022 Google LLC. All rights reserved.